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 ffy$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 Lffy$a;a:Lexc;
    • 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 Lffy$a;b:Lexc;
    • 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 Lffy$a;c:Lexc;
  • 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> Lffy$a;<init>(Lexc;Lexc;Lexc;)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 Lffy$a;a()Lexc;
    • 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 Lffy$a;b()Lexc;
    • 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 Lffy$a;c()Lexc;
    • 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 Lffy$a;d()Lexc;
    • 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 Lffy$a;a(FF)Lexc;