TimeManager Class |
Namespace: GeonBit.Managers
public class TimeManager : IManager
The TimeManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | ElapsedTime |
Get elapsed time since last frame.
Note: does not affected by TimeSpeed.
|
![]() | FixedTimeFactor |
Get time factor for fixed-update.
|
![]() | FixedUpdateInterval |
The interval, in seconds, of the FixedUpdate event.
|
![]() | GameTime |
Get last game-time instance.
|
![]() ![]() | Instance |
Get time utils instance.
|
![]() | TimeFactor |
Get time factor for current frame (represent time passed in seconds since last frame, multiplied by speed).
|
![]() | TimeSinceLastUpdate |
Get time, in seconds, since last update().
|
![]() | TotalTime |
Get total time including all frames.
Note: does not affected by TimeSpeed.
|
Name | Description | |
---|---|---|
![]() | Draw |
Called every frame during the Draw() process.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | FixedUpdate |
Called every constant X seconds during the Update() phase.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize |
Init time utils manager.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Update current time.
|
Name | Description | |
---|---|---|
![]() | DesiredFixedFramesPerSecond |
How many FPS we want to get for fixed update functions.
|
![]() | TimeSpeed |
Global speed factor to affect game timing.
|