Pular para o conteúdo
AstraDOCS

Astra.TimeAccess

Astra atual · C# · 06 out. 2026Referência de assinaturas

Session-owned dispatch clock. Reads require the Play thread and an active session.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Class

class Astra.TimeAccess

Session-owned dispatch clock. Reads require the Play thread and an active session.

Membro Categoria
DeltaTime Property
FixedDeltaTime Property
FixedTime Property
FrameCount Property
InFixedTimeStep Property
Scale Property
TimeSinceStart Property
UnscaledDeltaTime Property
UnscaledTimeSinceStart Property

DeltaTime

public float DeltaTime { get; }

FixedDeltaTime

public float FixedDeltaTime { get; }

FixedTime

public double FixedTime { get; }

FrameCount

public ulong FrameCount { get; }

InFixedTimeStep

public bool InFixedTimeStep { get; }

Scale

public float Scale { get; set; }

0 freezes simulation; 1 is normal; supported range is [0,4]. Takes effect next frame.

TimeSinceStart

public double TimeSinceStart { get; }

UnscaledDeltaTime

public float UnscaledDeltaTime { get; }

UnscaledTimeSinceStart

public double UnscaledTimeSinceStart { get; }