NetworkClockBase Members
The NetworkClockBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
NetworkClockBase |
Constructor that initializes the global network clock.
|
Methods
Name | Description | |
---|---|---|
GetDeltaFrames |
Gets the delta frames since the last update.
|
|
GetDeltaTime |
Gets the delta time since the last update.
|
|
GetFixedDeltaTime |
Gets the fixed delta time for fixed updates.
|
|
GetFramesCount |
Gets the total number of frames since the clock started.
|
|
GetTick |
Gets the current tick count.
|
|
GetTime |
Gets the current time according to the network clock.
|
|
Initialize |
Initializes the network clock, setting the start time.
|
|
UpdateFixedFramesCount |
Increments the fixed frame count and recalculates the fixed delta time based on the elapsed time.
|
|
UpdateFramesCount |
Updates the frame count to the specified count.
|
|
UpdateTick |
Updates the tick count, incrementing it or setting it to an override value.
|