Table of Contents

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

float

Properties

DeltaTime

The number of seconds since the last frame.

public static float DeltaTime { get; }

Property Value

float

IsRunningSlowly

true if duration of the previous frame exceeded MaxDeltaTime.

public static bool IsRunningSlowly { get; }

Property Value

bool

MaxDeltaTime

The highest allowed value of DeltaTime. Defaults to PositiveInfinity.

public static float MaxDeltaTime { get; set; }

Property Value

float

Scale

Controls the rate at which DeltaTime and TotalTime passes.

public static float Scale { get; set; }

Property Value

float

TotalTime

The number of seconds since the start of the simulation.

public static float TotalTime { get; }

Property Value

float