StaticLightPicker is a light picker that provides a static set of lights. The lights can be reassigned, but if the configuration changes (number of directional lights, point lights, etc), a material recompilation may occur.


Inherited from LightPickerBase -> NamedAssetBase -> EventDispatcher.


Can be created using method new:

Lib.Away3D.Materials.LightPickers.StaticLightPicker.new(lights)

Creates a new StaticLightPicker object.

lights - The array lights to be used for shading. array of (LightBase)


Created StaticLightPicker object has properties:

lights

The lights used for shading. vector array of (LightBase)

Created with the Personal Edition of HelpNDoc: Write eBooks for the Kindle