Table of Contents

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

int

Clock

Gets the value of the clock

public Clock Clock { get; set; }

Property Value

Clock

Configuration

Gets or sets the value of the configuration

public TimeConfiguration Configuration { get; }

Property Value

TimeConfiguration

DeltaTime

The interval in seconds from the last frame to the current one (Read Only).

public float DeltaTime { get; set; }

Property Value

float

FixedDeltaTime

The interval in seconds at which physics and other fixed frame rate updateS.

public float FixedDeltaTime { get; set; }

Property Value

float

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

float

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

double

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

float

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

float

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

double

FrameCount

The total number of frames since the start of the game (Read Only).

public float FrameCount { get; set; }

Property Value

float

InFixedTimeStep

Returns true if called inside a fixed time step callback (like Runtime FixedUpdate), otherwise returns false.

public bool InFixedTimeStep { get; set; }

Property Value

bool

IsRunning

Gets or sets the value of the is running

public bool IsRunning { get; set; }

Property Value

bool

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

float

RealtimeSinceStartup

The real time in seconds since the game started (Read Only).

public float RealtimeSinceStartup { get; }

Property Value

float

RealtimeSinceStartupAsDouble

The real time in seconds since the game started (Read Only). Double precision version of realtimeSinceStartup.

public double RealtimeSinceStartupAsDouble { get; }

Property Value

double

SmoothDeltaTime

A smoothed out TimeManager.DeltaTime (Read Only).

public float SmoothDeltaTime { get; set; }

Property Value

float

Time

The time at the beginning of this frame (Read Only).

public float Time { get; set; }

Property Value

float

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

double

TimeScale

The scale at which time passes.

public float TimeScale { get; set; }

Property Value

float

TotalFrames

Gets or sets the value of the total frames

public int TotalFrames { get; set; }

Property Value

int

UnscaledDeltaTime

The timeScale-independent interval in seconds from the last frame to the current one (Read Only).

public float UnscaledDeltaTime { get; set; }

Property Value

float

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

float

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; }

Property Value

double