Interface FlashbackCompat


public interface FlashbackCompat
Veil flashback compat implementation.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FlashbackCompat
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    backup(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion)
    Stores the values of the respective ReplayUI fields
    static boolean
     
    void
    restore(org.joml.Matrix4f lastProjectionMatrix, org.joml.Quaternionf lastViewQuaternion)
    Sets the values of the respective ReplayUI fields
  • Field Details

  • 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 matrix
      lastViewQuaternion - 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 to
      lastViewQuaternion - The quaternion that ReplayUI's camera rotation should be set to