Interface CameraAccessor


public interface CameraAccessor
  • Method Details

    • playerAnimLib$getForwardVector

      org.joml.Vector3f playerAnimLib$getForwardVector()
      The cached direction vectors of the camera. 1.21.11 only exposes them as immutable Vector3fc views, but the animated camera has to write the roll back into them (vanilla refreshes them in setup, which runs before the roll is applied).
    • playerAnimLib$getUpVector

      org.joml.Vector3f playerAnimLib$getUpVector()
    • playerAnimLib$getLeftVector

      org.joml.Vector3f playerAnimLib$getLeftVector()
    • playerAnimLib$getMatrixPropertiesDirty

      int playerAnimLib$getMatrixPropertiesDirty()
    • playerAnimLib$setMatrixPropertiesDirty

      void playerAnimLib$setMatrixPropertiesDirty(int matrixPropertiesDirty)
    • playerAnimLib$setPosition

      void playerAnimLib$setPosition(double x, double y, double z)
      Applies the final world position of the animated first-person camera. Camera#setPosition is protected, so this invoker is used by FpCameraUtil.