class RealTime

in global :: Sandbox

Access to time.


public static float Now { get; }

The time since game startup, in seconds.

public static double GlobalNow { get; }

The number of a seconds since a set point in time. This value should match between servers and clients. If they have their timezone set correctly.

public static float Delta { get; }

The time delta (in seconds) between the last frame and the current (for all intents and purposes)

public static float SmoothDelta { get; }

Like Delta but smoothed to avoid large disparities between deltas

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.