Value > MAXWrapper > Node > System > Daylight |
Daylight system objects are not creatable by MAXScript.
A Daylight system is comprised of a Compass Helper object and an Assembly containing an IES_Sun and an IES_Sky object using a DaylightAssemblyHead. The Light objects can be accessed as properties of the Assembly Head.
The Assembly's transform is controlled by a set of controllers, which are sub-controllers of a
Sunlight_Daylight_Slave_Controller
controller. To access the controller, create a Daylight system using the Create>Systems tab in the UI and use:
The solar time expressed as an integer value of seconds since midnight. To calculate the hours, minutes and seconds, you can use the following function:
The solar date represents the days offset fromJune 21 st , the date of the Summer Solstice. You should access the .solar_date.controller.value to get the correct value as a Float.
The viewer location's latitude.
The viewer location's longitude.
The Orbital scale controls the distance of the Assembly from the Compass Helper.
The Sky cover value, 0.0 means Clear, 1.0 means Cloudy.
Contains a PRS Controller to hold the manual transforms.