Interfaces > Core Interfaces > DaylightSimulationUtilities |
The DaylightSimulationUtilities Interface exposes methods used by the Light Analysis Utility to collect objects and ensure the validity of render effects, lights, materials and the renderer for performing Daylight Simulation.
Returns an array of valid lights.
Returns an array of invalid lights.
Returns an array of active lights.
Returns an array of inactive lights.
Returns an array of lights with valid type.
Returns an array of lights with invalid type.
Returns an array of lights that have shadow casting enabled.
Returns an array of lights that have shadow casting disabled.
Returns an array of lights that have shadow set to raytraced.
Returns an array of lights that have shadow set to any type but raytraced.
Returns an array of all renderable objects in the scene.
Returns an array of objects that have materials that are invalid for daylight simulation.
Fixed the materials that are invalid for daylight simulation. Returns true on success, false if nothing was fixed.
Returns an array of daylight system lights.
Returns true if a Light Analysis Render Effect has already been added to the Effects list, false if it does not exist on the Effects list.
Returns true if a Light Analysis Render Effect has already been added to the Effects list and is active, false if it is not active.
Returns the number of LightAnalysis Render Effects.
Returns true if the current renderer is valid (mental ray), false if it is not valid (Default Scanline Renderer, 3 rd party renderers)
Returns true if the supplied daylight system uses the mental ray Sun, false otherwise.
Returns true if the supplied daylight system uses the mental ray Sky, false otherwise.
Returns true if the supplied daylight system is set to cast shadows, false otherwise.
Returns true if the Sun Multiplier in the Daylight System represented by the given Interface is valid, false if it is invalid.
Returns true if the Sky Multiplier in the Daylight System represented by the given Interface is valid, false if it is invalid.
Returns true of the Sun in the Daylight System represented by the given interface is on, false if it is off.
Returns true of the Sky in the Daylight System represented by the given interface is on, false if it is off.
Sets mental ray as the production renderer. Equivalent to assigning an instance of the mental_ray_renderer class to the production renderer.
Opens the Render Dialog at the Indirect Illumination tab.
Returns true if the frame buffer is using 32 bit per channel, false if using 16 bpc.
Returns true if the renderer is set to Iterative mode, false if set to Production mode.
Sets the renderer to Iterative mode when the argument is true or to Production mode when the argument is supplied as false.
Applies the default render preset to the renderer.