Packagecom.gestureworks.cml.away3d.utils
Classpublic class StaticLightPickerMod
InheritanceStaticLightPickerMod Inheritance away3d.materials.lightpickers.LightPickerBase
Subclasses LightPicker

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.



Public Properties
 PropertyDefined By
  lights : Array
The lights used for shading.
StaticLightPickerMod
Public Methods
 MethodDefined By
  
StaticLightPickerMod(lights:Array = null)
Creates a new StaticLightPicker object.
StaticLightPickerMod
Property Detail
lightsproperty
lights:Array

The lights used for shading.


Implementation
    public function get lights():Array
    public function set lights(value:Array):void
Constructor Detail
StaticLightPickerMod()Constructor
public function StaticLightPickerMod(lights:Array = null)

Creates a new StaticLightPicker object.

Parameters
lights:Array (default = null) — The lights to be used for shading.