Packagecom.gestureworks.cml.away3d.elements
Classpublic class Mesh
InheritanceMesh Inheritance away3d.entities.Mesh
Implements com.gestureworks.cml.interfaces.IContainer, com.gestureworks.cml.interfaces.ICSS, com.gestureworks.cml.interfaces.IState

This class creates a Mesh geometry that can be applied to a Mesh. It extends the Away3D Mesh class to add CML support.



Public Properties
 PropertyDefined By
  childList : ChildList
Mesh
  className : String
Mesh
  cmlIndex : int
Mesh
  gref : *
Mesh
  mref : *
Mesh
  state : Dictionary
Mesh
  stateId : *
Mesh
  touchEnabled : Boolean
Sets whether touch events are processed on this object.
Mesh
  vto : TouchContainer3D
Virtual transform object.
Mesh
Public Methods
 MethodDefined By
  
Mesh
  
Mesh
  
dispose():void
[override]
Mesh
  
init():void
Mesh
  
loadState(sId:* = null, recursion:Boolean = false):void
Mesh
  
parseCML(cml:XMLList):XMLList
Mesh
  
postparseCML(cml:XMLList):void
Mesh
  
saveState(sId:* = null, recursion:Boolean = false):void
Mesh
  
tweenState(sId:* = null, tweenTime:Number = 1):void
Mesh
  
updateProperties(state:* = 0):void
Mesh
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
grefproperty 
gref:*


Implementation
    public function get gref():*
    public function set gref(value:any):void
mrefproperty 
mref:*


Implementation
    public function get mref():*
    public function set mref(value:any):void
stateproperty 
public var state:Dictionary

stateIdproperty 
stateId:*


Implementation
    public function get stateId():*
    public function set stateId(value:any):void
touchEnabledproperty 
touchEnabled:Boolean

Sets whether touch events are processed on this object. Same as mouseEnabled.


Implementation
    public function get touchEnabled():Boolean
    public function set touchEnabled(value:Boolean):void
vtoproperty 
public var vto:TouchContainer3D

Virtual transform object.

Constructor Detail
Mesh()Constructor
public function Mesh()

Method Detail
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

Returns
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)