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
named net/minecraft/client/render/Camera$Projection
intermediary net/minecraft/class_4184$class_6355
official flo$a
  • Field Details

    • center

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

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

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

    • Projection

      Projection(Vec3d center, Vec3d x, Vec3d y)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_4184$class_6355;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_243;Lnet/minecraft/class_243;)V
      official <init> Lflo$a;<init>(Lfbx;Lfbx;Lfbx;)V
  • Method Details

    • getBottomRight

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

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

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

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

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