Interface: LightMeterManager

Interfaces > Core Interfaces > LightMeterManager

 

   

Core Interfaces - Quick Navigation

The LightMeterManager Interface exposes properties and methods related to managing LightMeter Helpers. The same methods are used by the Lighting Analysis Assistant tool.

NOTE:This feature is exposed in both 3ds Max and 3ds Max Design, but the LightMeter Helper is not available in 3ds Max. Thus, the interface can only be used on scenes containing Light Meters created using 3ds Max Design.

   

Properties:

LightMeterManager.deleteCacheBeforeCalculation : bool : Read|Write 	 

Get/set the option controlling whether to delete the Cache before calculating Light Meters.

When set to true, the Cache data will be deleted before calculating.

When set to false, it will not be deleted.

Available in 3ds Max 2011 and higher.

   

Methods:

<integer>LightMeterManager.getNumLightMeterHelpers()   

Returns the number of LightMeter Helpers in the scene.

   

<Interface>LightMeterManager.getNthLightMeterHelper <index>index 

Returns the LightMeter Interface of the N-th LightMeter Helper in the scene.

   

<node>LightMeterManager.getNthLightMeterHelperNode <index>index 

Returns the node of the N-th LightMeter Helper in the scene.

   

<integer>LightMeterManager.getNumActiveLightMeterHelpers() 

Returns the number of active LightMeter Helpers in the scene.

   

<bool>LightMeterManager.isCalculatingMeters() 

Returns true if the Lighting Analysis Assistant is calculating LightMeters, false if not.

   

<bool>LightMeterManager.calculateMeters <index>index <bool>useRenderTimes <bool>useRenderSettings 

Performs the LightMeter calculation for the indexed light meter.

   

<void>LightMeterManager.outputActiveMetersToCSVFiles <string>namePrefix 

Writes the data from the active LightMeters to a Comma-Separated Values file with the specified name prefix.

   

See Also