Astra.TimeAccess
Session-owned dispatch clock. Reads require the Play thread and an active session.
Namespace: Astra · Assembly: Astra.Scripting · Tipo: Class
Declaração
Seção intitulada “Declaração”class Astra.TimeAccessSession-owned dispatch clock. Reads require the Play thread and an active session.
Membros
Seção intitulada “Membros”| 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; }