Class Time
- Namespace
- SimulationFramework
- Assembly
- SimulationFramework.dll
Provides time values to the simulation.
public static class Time
- Inheritance
-
Time
- Inherited Members
Fields
DefaultMaxDeltaTime
The default value of MaxDeltaTime.
public const float DefaultMaxDeltaTime = Infinity
Field Value
Properties
DeltaTime
The number of seconds since the last frame.
public static float DeltaTime { get; }
Property Value
IsRunningSlowly
true if duration of the previous frame exceeded MaxDeltaTime.
public static bool IsRunningSlowly { get; }
Property Value
MaxDeltaTime
The highest allowed value of DeltaTime. Defaults to PositiveInfinity.
public static float MaxDeltaTime { get; set; }
Property Value
Scale
public static float Scale { get; set; }
Property Value
TotalTime
The number of seconds since the start of the simulation.
public static float TotalTime { get; }