Skip to main content

Environment and Lights Reference

Control of time, weather effects, and lighting systems.

DayNightController​

Time-of-day simulation.

int CurrentHour / int CurrentMinute​

  • Description: Manages the simulation clock (0-23h / 0-59m).

float TimeMultiplier​

  • Description: Speeds up or slows down the passage of time.

Doors and Gates​

Environmental entry points.

void OpenCloseDoors(bool v) / void OpenDoor(bool v)​

  • Description: Controls for standard doors, gates, and machine doors.

bool Stopped() / bool DoorOpened()​

  • Description: Status monitoring for door movement.

Weather (Rain and Wind)​

Outdoor environmental effects.

float RainIntensity / float WindSpeed​

  • Description: Adjusts the strength of the effects (0-1000 for rain).

void Play() / Stop() / void SoundEnabled(bool v)​

  • Description: Controls the activation and audio of weather effects.

Lights (Directional, Spot, Point)​

Dynamic lighting components.

Color LightColor / float Intensity​

  • Description: Basic light properties for all types.

float Range / float RangeSpot​

  • Description: Specific reach parameters for Point and Spot lights.

void Visible(bool value)​

  • Description: Turns the light source on or off.