Api Sandbox RealTime
class

RealTime

public static abstract sealed class RealTime

Access to time.

Properties

Name Type Description
Now static Single The time since the game startup, in seconds.
NowDouble static Double The time since the game startup as a double, in seconds.
GlobalNow static Double 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.
Delta static Single The time delta (in seconds) between the last frame and the current (for all intents and purposes)
SmoothDelta static Single Like Delta but smoothed to avoid large disparities between deltas
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.RealTime