Package | com.gestureworks.cml.away3d.elements |
Class | public class Model |
Inheritance | Model ![]() |
Implements | com.gestureworks.cml.interfaces.IObject, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState |
Property | Defined By | ||
---|---|---|---|
childList : ChildList | Model | ||
className : String
sets the class name of displayobject
| Model | ||
cmlIndex : int | Model | ||
debug : Boolean
Sets debug status. | Model | ||
lightPicker : *
Sets the light picker. | Model | ||
lpref : XML
Sets the light picker reference. | Model | ||
src : String
Sets the model file path. | Model | ||
state : Dictionary | Model | ||
stateId : * | Model | ||
touchEnabled : Boolean
Sets whether touch events are processed on this object. | Model | ||
vto : TouchContainer3D
Virtual transform object. | Model |
Method | Defined By | ||
---|---|---|---|
Model() | Model | ||
addAllChildren():void | Model | ||
dispose():void [override]
| Model | ||
init():void | Model | ||
loadState(sId:* = null, recursion:Boolean = false):void | Model | ||
parseCML(cml:XMLList):XMLList | Model | ||
postparseCML(cml:XMLList):void | Model | ||
saveState(sId:* = null, recursion:Boolean = false):void | Model | ||
tweenState(sId:* = null, tweenTime:Number = 1):void | Model | ||
updateProperties(state:* = 0):void | Model |
childList | property |
childList:ChildList
public function get childList():ChildList
public function set childList(value:ChildList):void
className | property |
className:String
sets the class name of displayobject
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
debug | property |
debug:Boolean
Sets debug status.
public function get debug():Boolean
public function set debug(value:Boolean):void
lightPicker | property |
lightPicker:*
Sets the light picker.
public function get lightPicker():*
public function set lightPicker(value:any):void
lpref | property |
lpref:XML
Sets the light picker reference.
public function get lpref():XML
public function set lpref(value:XML):void
src | property |
src:String
Sets the model file path.
public function get src():String
public function set src(value:String):void
state | property |
public var state:Dictionary
stateId | property |
stateId:*
public function get stateId():*
public function set stateId(value:any):void
touchEnabled | property |
touchEnabled:Boolean
Sets whether touch events are processed on this object. Same as mouseEnabled.
public function get touchEnabled():Boolean
public function set touchEnabled(value:Boolean):void
vto | property |
public var vto:TouchContainer3D
Virtual transform object.
Model | () | Constructor |
public function Model()
addAllChildren | () | method |
public function addAllChildren():void
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 )
|