Package | com.gestureworks.cml.away3d.lights |
Class | public class DirectionalLight |
Inheritance | DirectionalLight ![]() |
Implements | com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState, ILight |
Property | Defined By | ||
---|---|---|---|
childList : ChildList | DirectionalLight | ||
className : String | DirectionalLight | ||
cmlIndex : int | DirectionalLight | ||
shadowMethod : SimpleShadowMapMethodBase
The shadow method applied to this light. | DirectionalLight | ||
shadowType : String
Sets the shadow type (hard or soft) if castShadow = "true". | DirectionalLight | ||
state : Dictionary | DirectionalLight | ||
stateId : * | DirectionalLight |
Method | Defined By | ||
---|---|---|---|
DirectionalLight | |||
dispose():void [override]
| DirectionalLight | ||
init():void | DirectionalLight | ||
loadState(sId:* = null, recursion:Boolean = false):void | DirectionalLight | ||
parseCML(cml:XMLList):XMLList | DirectionalLight | ||
postparseCML(cml:XMLList):void | DirectionalLight | ||
saveState(sId:* = null, recursion:Boolean = false):void | DirectionalLight | ||
tweenState(sId:* = null, tweenTime:Number = 1):void | DirectionalLight | ||
updateProperties(state:* = 0):void | DirectionalLight |
childList | property |
childList:ChildList
public function get childList():ChildList
public function set childList(value:ChildList):void
className | property |
className:String
public function get className():String
public function set className(value:String):void
cmlIndex | property |
cmlIndex:int
public function get cmlIndex():int
public function set cmlIndex(value:int):void
shadowMethod | property |
public var shadowMethod:SimpleShadowMapMethodBase
The shadow method applied to this light.
shadowType | property |
shadowType:String
Sets the shadow type (hard or soft) if castShadow = "true".
public function get shadowType():String
public function set shadowType(value:String):void
state | property |
public var state:Dictionary
stateId | property |
stateId:*
public function get stateId():*
public function set stateId(value:any):void
DirectionalLight | () | Constructor |
public function DirectionalLight()
dispose | () | method |
override public function dispose():void
init | () | method |
public function init():void
loadState | () | method |
public function loadState(sId:* = null, recursion:Boolean = false):void
Parameters
sId:* (default = null )
| |
recursion:Boolean (default = false )
|
parseCML | () | method |
public function parseCML(cml:XMLList):XMLList
Parameters
cml:XMLList |
XMLList |
postparseCML | () | method |
public function postparseCML(cml:XMLList):void
Parameters
cml:XMLList |
saveState | () | method |
public function saveState(sId:* = null, recursion:Boolean = false):void
Parameters
sId:* (default = null )
| |
recursion:Boolean (default = false )
|
tweenState | () | method |
public function tweenState(sId:* = null, tweenTime:Number = 1):void
Parameters
sId:* (default = null )
| |
tweenTime:Number (default = 1 )
|
updateProperties | () | method |
public function updateProperties(state:* = 0):void
Parameters
state:* (default = 0 )
|