Class WorldClockPreview
A preview holding the world clock (test scenes and editor previews; never on a server), in place of the shared clock.
public static class WorldClockPreview
- Inheritance
-
WorldClockPreview
- Inherited Members
Remarks
Core, so WorldMotion can follow a preview without knowing what drives it. The sky
(WorldDayNightCycle) owns the preview and writes both values: its PreviewHours and SkyClockHours
are these.
Fields
Hours
A world time to show instead of the clock, hours; null when no preview holds it.
public static double? Hours
Field Value
Properties
ShownHours
The world clock in hours as the sky last read it (a preview's fast or stopped clock included), or null before any sky has run. While a preview holds the clock, the world's motion runs on this.
public static double? ShownHours { get; set; }