Package foundry.veil.api.compat
Interface FlashbackCompat
public interface FlashbackCompat
Veil flashback compat implementation.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
backup
(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion) Stores the values of the respective ReplayUI fieldsstatic boolean
isLoaded()
void
restore
(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion) Sets the values of the respective ReplayUI fields
-
Field Details
-
INSTANCE
-
-
Method Details
-
isLoaded
static boolean isLoaded()- Returns:
- Whether flashback is loaded
-
backup
void backup(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion) Stores the values of the respective ReplayUI fields- Parameters:
lastProjectionMatrix
- The backup matrix used to store ReplayUI's projection matrixlastViewQuaternion
- The backup quaternion used to store ReplayUI's camera rotation
-
restore
void restore(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion) Sets the values of the respective ReplayUI fields- Parameters:
lastProjectionMatrix
- The matrix that ReplayUI's projection matrix should be set tolastViewQuaternion
- The quaternion that ReplayUI's camera rotation should be set to
-