Time
static class Timeimport Time from Wax;Frame timing driven by the host application through BeginFrame.
DeltaTime measures the previous frame interval. Scale controls scaled time:
zero pauses it, and two advances it twice as quickly. Now reads a monotonic,
replay-safe timepoint. The value types timespan and timepoint need no import.
Inherits from object. Follow these links for inherited members.
Members
DeltaTimegetter
public static get DeltaTime() : timespanThe current frame interval after MaxDeltaTime clamping and before time scaling.
FrameCountgetter
public static get FrameCount() : int64The runtime frame counter advanced by host frame boundaries.
ElapsedTimegetter
public static get ElapsedTime() : timespanAccumulated frame intervals after MaxDeltaTime clamping and before time scaling.
Scalegetter
public static get Scale() : doubleThe multiplier used for scaled frame time. Must be finite; zero pauses scaled time and negative values run it backward.
Scalesetter
public static set Scale(double value) : voidThe multiplier used for scaled frame time. Must be finite; zero pauses scaled time and negative values run it backward.
ScaledDeltaTimegetter
public static get ScaledDeltaTime() : timespanThe frame interval after the runtime delta limit and time scale are applied.
ScaledTimegetter
public static get ScaledTime() : timespanAccumulated scaled frame time.
MaxDeltaTimegetter
public static get MaxDeltaTime() : timespanThe nonnegative frame-delta limit, applied before scaling. Zero disables clamping; negative assignments panic.
MaxDeltaTimesetter
public static set MaxDeltaTime(timespan value) : voidThe nonnegative frame-delta limit, applied before scaling. Zero disables clamping; negative assignments panic.
Nowgetter
public static get Now() : timepointReads a fresh monotonic, replay-safe clock sample. Subtract samples for elapsed durations; the origin is not wall-clock time.