Packagecom.gestureworks.cml.away3d.elements
Classpublic class LightPicker
InheritanceLightPicker Inheritance StaticLightPickerMod Inheritance away3d.materials.lightpickers.LightPickerBase
Implements com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS

This class creates a LightPicker. It extends the Away3D StaticLightPickerMod class to add CML support.



Public Properties
 PropertyDefined By
  childList : ChildList
LightPicker
  className : String
LightPicker
  cmlIndex : int
LightPicker
 Inheritedlights : Array
The lights used for shading.
StaticLightPickerMod
  lref : XML
LightPicker
  state : Dictionary
LightPicker
Public Methods
 MethodDefined By
  
LightPicker(lights:Array = null)
LightPicker
  
dispose():void
[override]
LightPicker
  
init():void
LightPicker
  
parseCML(cml:XMLList):XMLList
LightPicker
  
postparseCML(cml:XMLList):void
LightPicker
  
updateProperties(state:* = 0):void
LightPicker
Property Detail
childListproperty
childList:ChildList


Implementation
    public function get childList():ChildList
    public function set childList(value:ChildList):void
classNameproperty 
className:String


Implementation
    public function get className():String
    public function set className(value:String):void
cmlIndexproperty 
cmlIndex:int


Implementation
    public function get cmlIndex():int
    public function set cmlIndex(value:int):void
lrefproperty 
lref:XML


Implementation
    public function get lref():XML
    public function set lref(value:XML):void
stateproperty 
public var state:Dictionary

Constructor Detail
LightPicker()Constructor
public function LightPicker(lights:Array = null)

Parameters
lights:Array (default = null)
Method Detail
dispose()method
override public function dispose():void

init()method 
public function init():void

parseCML()method 
public function parseCML(cml:XMLList):XMLList

Parameters

cml:XMLList

Returns
XMLList
postparseCML()method 
public function postparseCML(cml:XMLList):void

Parameters

cml:XMLList

updateProperties()method 
public function updateProperties(state:* = 0):void

Parameters

state:* (default = 0)