INetworkClock Members
The INetworkClock type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
GetDeltaFrames |
Retrieves the number of frames that have passed since the last update.
|
![]() |
GetDeltaTime |
Retrieves the time elapsed since the last frame update.
|
![]() |
GetFixedDeltaTime |
Retrieves the fixed delta time for fixed frame rate updates.
|
![]() |
GetFramesCount |
Retrieves the total number of frames since the start of the game.
|
![]() |
GetTick |
Retrieves the current network tick.
|
![]() |
GetTime |
Retrieves the total elapsed time.
|
![]() |
Initialize |
Initializes the network clock.
|
![]() |
UpdateFixedFramesCount |
Updates the count of fixed frames, typically used for fixed update loops.
|
![]() |
UpdateFramesCount |
Updates the frames count to a new value.
|
![]() |
UpdateTick |
Updates the network tick with an optional override value.
|
Properties
Name | Description | |
---|---|---|
![]() |
DeltaFrames |
Gets the number of frames that have passed since the last update.
|
![]() |
DeltaTime |
Gets the time in seconds since the last frame update.
|
![]() |
FixedDeltaTime |
Gets the fixed time interval in seconds at which physics and other fixed frame rate updates are performed.
|
![]() |
Tick |
Gets or sets the network tick, which is a counter that can be used for synchronizing states across the network.
|
![]() |
Time |
Gets the total time in seconds since the start of the game.
|