NetworkClockDefault Methods
The NetworkClockDefault type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetDeltaFrames |
Retrieves the number of frames between the current and previous update.
|
|
GetDeltaTime |
Retrieves the time difference in seconds between the current and previous update.
|
|
GetTick |
Retrieves the current tick count, updating it based on the elapsed time since the last tick.
|
|
GetTime |
Retrieves the current time in seconds since the clock started.
|
|
Initialize |
Initializes the network clock, setting up the necessary variables and starting the timekeeping process.
|
|
SetTargetFramerate |
Sets the target framerate for the clock, adjusting the time between ticks accordingly.
|
|
UpdateTick |
Updates the current tick count to a specified value.
|