Quantum 3 3.1.0

Public Attributes | Properties | 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 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...
 

Properties

Frame PredictedPrevious [get, set]
 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. This is only a separate frame when QuantumGameFlags.IsLegacyFrameCopiesEnabled is set, otherwise it is the Verified frame. View interpolation reads the QuantumEntityViewTransformHistory (Quantum.Unity) instead. More...
 
Frame PreviousUpdatePredicted [get, set]
 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. This is only a separate frame when QuantumGameFlags.IsLegacyFrameCopiesEnabled is set, otherwise it is the Verified frame. View interpolation reads the QuantumEntityViewTransformHistory (Quantum.Unity) instead. 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.

Property Documentation

◆ PredictedPrevious

Frame Quantum.QuantumGame.FramesContainer.PredictedPrevious
getset

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. This is only a separate frame when QuantumGameFlags.IsLegacyFrameCopiesEnabled is set, otherwise it is the Verified frame. View interpolation reads the QuantumEntityViewTransformHistory (Quantum.Unity) instead.

◆ PreviousUpdatePredicted

Frame Quantum.QuantumGame.FramesContainer.PreviousUpdatePredicted
getset

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. This is only a separate frame when QuantumGameFlags.IsLegacyFrameCopiesEnabled is set, otherwise it is the Verified frame. View interpolation reads the QuantumEntityViewTransformHistory (Quantum.Unity) instead.