Class TimeManager
- Namespace
- Alis.Core.Aspect.Time
- Assembly
- Alis.dll
Provides an interface to get time information.
public class TimeManager
Inheritance
Inherited Members
Constructors
TimeManager()
Initializes a new instance of the Alis.Core.Aspect.Time.TimeManager class
public TimeManager()
Properties
AverageFrames
Gets or sets the value of the average frames
public int AverageFrames { get; set; }
Property Value
Clock
Gets the value of the clock
public Clock Clock { get; set; }
Property Value
Configuration
Gets or sets the value of the configuration
public TimeConfiguration Configuration { get; }
Property Value
DeltaTime
The interval in seconds from the last frame to the current one (Read Only).
public float DeltaTime { get; set; }
Property Value
FixedDeltaTime
The interval in seconds at which physics and other fixed frame rate updateS.
public float FixedDeltaTime { get; set; }
Property Value
FixedTime
The time since the last FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
public float FixedTime { get; set; }
Property Value
FixedTimeAsDouble
The double precision time since the last FixedUpdate started (Read Only). This is the time in seconds since the start of the game.
public double FixedTimeAsDouble { get; set; }
Property Value
FixedUnscaledDeltaTime
The timeScale-independent interval in seconds from the last Runtime.FixedUpdate() phase to the current one (Read Only).
public float FixedUnscaledDeltaTime { get; set; }
Property Value
FixedUnscaledTime
The timeScale-independent time at the beginning of the last Runtime.FixedUpdate() phase (Read Only). This is the time in seconds since the start of the game.
public float FixedUnscaledTime { get; set; }
Property Value
FixedUnscaledTimeAsDouble
The double precision timeScale-independent time at the beginning of the last FixedUpdate (Read Only). This is the time in seconds since the start of the game.
public double FixedUnscaledTimeAsDouble { get; set; }
Property Value
FrameCount
The total number of frames since the start of the game (Read Only).
public float FrameCount { get; set; }
Property Value
InFixedTimeStep
Returns true if called inside a fixed time step callback (like Runtime FixedUpdate), otherwise returns false.
public bool InFixedTimeStep { get; set; }
Property Value
IsRunning
Gets or sets the value of the is running
public bool IsRunning { get; set; }
Property Value
MaximumDeltaTime
The maximum value of TimeManager.DeltaTime in any given frame. This is a time in seconds that limits the increase of TimeManager.time between two frames.
public float MaximumDeltaTime { get; set; }
Property Value
RealtimeSinceStartup
The real time in seconds since the game started (Read Only).
public float RealtimeSinceStartup { get; }
Property Value
RealtimeSinceStartupAsDouble
The real time in seconds since the game started (Read Only). Double precision version of realtimeSinceStartup.
public double RealtimeSinceStartupAsDouble { get; }
Property Value
SmoothDeltaTime
A smoothed out TimeManager.DeltaTime (Read Only).
public float SmoothDeltaTime { get; set; }
Property Value
Time
The time at the beginning of this frame (Read Only).
public float Time { get; set; }
Property Value
TimeAsDouble
The double precision time at the beginning of this frame (Read Only). This is the time in seconds since the start of the game.
public double TimeAsDouble { get; set; }
Property Value
TimeScale
The scale at which time passes.
public float TimeScale { get; set; }
Property Value
TotalFrames
Gets or sets the value of the total frames
public int TotalFrames { get; set; }
Property Value
UnscaledDeltaTime
The timeScale-independent interval in seconds from the last frame to the current one (Read Only).
public float UnscaledDeltaTime { get; set; }
Property Value
UnscaledTime
The timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
public float UnscaledTime { get; set; }
Property Value
UnscaledTimeAsDouble
The double precision timeScale-independent time for this frame (Read Only). This is the time in seconds since the start of the game.
public double UnscaledTimeAsDouble { get; set; }