Class Camera.Projection

java.lang.Object
net.minecraft.client.render.Camera.Projection
Enclosing class:
Camera

@Environment(CLIENT) public static class Camera.Projection extends Object
A projection of a camera. It is a 2-D rectangle in a 3-D volume.
See Also:
Mappings:
Namespace Name
official dwl$a
intermediary net/minecraft/class_4184$class_6355
named net/minecraft/client/render/Camera$Projection
  • Field Details

    • center

      final Vec3d center
      Mappings:
      Namespace Name Mixin selector
      official a Ldwl$a;a:Ldnz;
      intermediary field_33622 Lnet/minecraft/class_4184$class_6355;field_33622:Lnet/minecraft/class_243;
      named center Lnet/minecraft/client/render/Camera$Projection;center:Lnet/minecraft/util/math/Vec3d;
    • x

      private final Vec3d x
      Half of the width (x) of the rectangle.
      Mappings:
      Namespace Name Mixin selector
      official b Ldwl$a;b:Ldnz;
      intermediary field_33623 Lnet/minecraft/class_4184$class_6355;field_33623:Lnet/minecraft/class_243;
      named x Lnet/minecraft/client/render/Camera$Projection;x:Lnet/minecraft/util/math/Vec3d;
    • y

      private final Vec3d y
      Half of the height (y) of the rectangle.
      Mappings:
      Namespace Name Mixin selector
      official c Ldwl$a;c:Ldnz;
      intermediary field_33624 Lnet/minecraft/class_4184$class_6355;field_33624:Lnet/minecraft/class_243;
      named y Lnet/minecraft/client/render/Camera$Projection;y:Lnet/minecraft/util/math/Vec3d;
  • Constructor Details

    • Projection

      Projection(Vec3d center, Vec3d x, Vec3d y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldwl$a;<init>(Ldnz;Ldnz;Ldnz;)V
      intermediary <init> Lnet/minecraft/class_4184$class_6355;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
      named <init> Lnet/minecraft/client/render/Camera$Projection;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Vec3d;)V
  • Method Details

    • getBottomRight

      public Vec3d getBottomRight()
      Mappings:
      Namespace Name Mixin selector
      official a Ldwl$a;a()Ldnz;
      intermediary method_36426 Lnet/minecraft/class_4184$class_6355;method_36426()Lnet/minecraft/class_243;
      named getBottomRight Lnet/minecraft/client/render/Camera$Projection;getBottomRight()Lnet/minecraft/util/math/Vec3d;
    • getTopRight

      public Vec3d getTopRight()
      Mappings:
      Namespace Name Mixin selector
      official b Ldwl$a;b()Ldnz;
      intermediary method_36429 Lnet/minecraft/class_4184$class_6355;method_36429()Lnet/minecraft/class_243;
      named getTopRight Lnet/minecraft/client/render/Camera$Projection;getTopRight()Lnet/minecraft/util/math/Vec3d;
    • getBottomLeft

      public Vec3d getBottomLeft()
      Mappings:
      Namespace Name Mixin selector
      official c Ldwl$a;c()Ldnz;
      intermediary method_36430 Lnet/minecraft/class_4184$class_6355;method_36430()Lnet/minecraft/class_243;
      named getBottomLeft Lnet/minecraft/client/render/Camera$Projection;getBottomLeft()Lnet/minecraft/util/math/Vec3d;
    • getTopLeft

      public Vec3d getTopLeft()
      Mappings:
      Namespace Name Mixin selector
      official d Ldwl$a;d()Ldnz;
      intermediary method_36431 Lnet/minecraft/class_4184$class_6355;method_36431()Lnet/minecraft/class_243;
      named getTopLeft Lnet/minecraft/client/render/Camera$Projection;getTopLeft()Lnet/minecraft/util/math/Vec3d;
    • getPosition

      public Vec3d getPosition(float factorX, float factorY)
      Mappings:
      Namespace Name Mixin selector
      official a Ldwl$a;a(FF)Ldnz;
      intermediary method_36427 Lnet/minecraft/class_4184$class_6355;method_36427(FF)Lnet/minecraft/class_243;
      named getPosition Lnet/minecraft/client/render/Camera$Projection;getPosition(FF)Lnet/minecraft/util/math/Vec3d;