com.onlineobject.objectnet Namespace

INetworkClock Members

The INetworkClock type exposes the following members.

Methods


  Name Description
Public method GetDeltaFrames
Retrieves the number of frames that have passed since the last update.
Public method GetDeltaTime
Retrieves the time elapsed since the last frame update.
Public method GetFixedDeltaTime
Retrieves the fixed delta time for fixed frame rate updates.
Public method GetFramesCount
Retrieves the total number of frames since the start of the game.
Public method GetTick
Retrieves the current network tick.
Public method GetTime
Retrieves the total elapsed time.
Public method Initialize
Initializes the network clock.
Public method UpdateFixedFramesCount
Updates the count of fixed frames, typically used for fixed update loops.
Public method UpdateFramesCount
Updates the frames count to a new value.
Public method UpdateTick
Updates the network tick with an optional override value.

Properties


  Name Description
Public property DeltaFrames
Gets the number of frames that have passed since the last update.
Public property DeltaTime
Gets the time in seconds since the last frame update.
Public property FixedDeltaTime
Gets the fixed time interval in seconds at which physics and other fixed frame rate updates are performed.
Public property Tick
Gets or sets the network tick, which is a counter that can be used for synchronizing states across the network.
Public property Time
Gets the total time in seconds since the start of the game.