Photon Quantum 3.0.0

Public Attributes | List of all members
Quantum.QuantumGame.FramesContainer Class Reference

Stores the different frames the simulation uses during one tick. More...

Public Attributes

Frame Predicted
 Quick accessor to the latest locally predicted copy of the game state. More...
 
Frame PredictedPrevious
 Quick accessor to the second latest locally predicted copy of the game state. Used for accurate visual interpolation of transforms (or any other data) between this and the Predicted frame. More...
 
Frame PreviousUpdatePredicted
 Quick accessor to the latest simulated copy of the Frame that was last-Predicted during the previous main session update. Used to calculate transform view error for smoothed correction. More...
 
Frame Verified
 Quick accessor to the forward-only verified data (simulated with confirmed inputs from server in online games). Can be used as source of truth, as this does not include predicted data. More...
 

Detailed Description

Stores the different frames the simulation uses during one tick.

Member Data Documentation

◆ Verified

Frame Quantum.QuantumGame.FramesContainer.Verified

Quick accessor to the forward-only verified data (simulated with confirmed inputs from server in online games). Can be used as source of truth, as this does not include predicted data.

◆ Predicted

Frame Quantum.QuantumGame.FramesContainer.Predicted

Quick accessor to the latest locally predicted copy of the game state.

◆ PredictedPrevious

Frame Quantum.QuantumGame.FramesContainer.PredictedPrevious

Quick accessor to the second latest locally predicted copy of the game state. Used for accurate visual interpolation of transforms (or any other data) between this and the Predicted frame.

◆ PreviousUpdatePredicted

Frame Quantum.QuantumGame.FramesContainer.PreviousUpdatePredicted

Quick accessor to the latest simulated copy of the Frame that was last-Predicted during the previous main session update. Used to calculate transform view error for smoothed correction.