Skip to main content

DayNightCycle

Complete API reference for DayNightCycle, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Light

Component: yes


public class DayNightCycle extends Component

Constructors

SignatureDescription
DayNightCycle(DayNightCycle)Creates a new instance of DayNightCycle.
DayNightCycle(Engine)Creates a new instance of DayNightCycle.
DayNightCycle()Creates a new instance of DayNightCycle.

Attributes

NameTypeDescription
instanceDayNightCycleRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
currentTimeOfDayfloatget/setReturns the current current time of day.
longitudefloatget/setReturns the current longitude.
speedfloatget/setReturns the current speed.