Time
csharp
public static class TimeNamespace NodeWorld.Flux.
Time of the world, set by the host at each frame.
Properties
time
csharp
public static float time { get; }Seconds since the world started (the script clock).
timeSinceLevelLoad
csharp
public static float timeSinceLevelLoad { get; }Seconds since the world started (same clock as time).
realtimeSinceStartup
csharp
public static float realtimeSinceStartup { get; }Seconds since the world started: the same clock as time (scripts have no other).
unscaledDeltaTime
csharp
public static float unscaledDeltaTime { get; }Length of the current frame, in seconds: the same value as deltaTime (the world's time is not scaled).
timeAsDouble
csharp
public static double timeAsDouble { get; }Seconds since the world started, as a double: the clock of time.
deltaTime
csharp
public static float deltaTime { get; }Length of the current frame, in seconds.
frameCount
csharp
public static int frameCount { get; }Frames run since the world started.
fixedDeltaTime
csharp
public static float fixedDeltaTime { get; }Length of a physics step (FixedUpdate).
localTimeOfDay
csharp
public static float localTimeOfDay { get; }Seconds since midnight on the clock of the machine (a client: the player's own time of day; the server: its own).
