Interface CameraAccessor
public interface CameraAccessor
-
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3fThe cached direction vectors of the camera. 1.21.11 only exposes them as immutableVector3fcviews, but the animated camera has to write the roll back into them (vanilla refreshes them insetup, which runs before the roll is applied).org.joml.Vector3fintorg.joml.Vector3fvoidplayerAnimLib$setMatrixPropertiesDirty(int matrixPropertiesDirty) voidplayerAnimLib$setPosition(double x, double y, double z) Applies the final world position of the animated first-person camera.
-
Method Details
-
playerAnimLib$getForwardVector
org.joml.Vector3f playerAnimLib$getForwardVector()The cached direction vectors of the camera. 1.21.11 only exposes them as immutableVector3fcviews, but the animated camera has to write the roll back into them (vanilla refreshes them insetup, 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 byFpCameraUtil.
-