Packagecom.gestureworks.cml.away3d.elements
Classpublic class ModelAsset
InheritanceModelAsset Inheritance TouchContainer3D Inheritance com.gestureworks.cml.elements.TouchContainer



Public Properties
 PropertyDefined By
 InheritedcenterTransform : Boolean
Sets whether the transformations are about the center of the object.
TouchContainer3D
  container3D : ObjectContainer3D
ModelAsset
 Inheriteddistance : Number
[read-only] Current distance from the target to camera
TouchContainer3D
  geometry : Geometry
ModelAsset
 Inheritedlookat : String
Sets the lookAt vector as a comma seperated list.
TouchContainer3D
  material : MaterialBase
ModelAsset
  mesh : Mesh
ModelAsset
  mref : *
ModelAsset
 Inheritedobj : ObjectContainer3D
The 3D object this touch container represents.
TouchContainer3D
 Inheritedpivot : String
Sets the pivot point as a comma seperated list.
TouchContainer3D
 Inheritedpos : *
Sets the position as a comma seperated list.
TouchContainer3D
 Inheritedrot : String
Sets the rotation as a comma seperated list.
TouchContainer3D
 Inheritedsca : String
Sets the scale as a comma seperated list.
TouchContainer3D
 Inheritedvto : Object
[override] Sets the transformation target
TouchContainer3D
Public Methods
 MethodDefined By
  
ModelAsset
 Inherited
addChild3D(child:ObjectContainer3D):void
Adds a child to the 3D object this touch container represents.
TouchContainer3D
  
init():void
[override]
ModelAsset
  
parseCML(cml:XMLList):XMLList
[override]
ModelAsset
  
update(_cmlIndex:String):void
Updates linkage
ModelAsset
 Inherited
updateVTO():void
[override]
TouchContainer3D
Property Detail
container3Dproperty
public var container3D:ObjectContainer3D

geometryproperty 
public var geometry:Geometry

materialproperty 
public var material:MaterialBase

meshproperty 
public var mesh:Mesh

mrefproperty 
mref:*


Implementation
    public function get mref():*
    public function set mref(value:any):void
Constructor Detail
ModelAsset()Constructor
public function ModelAsset()



Method Detail
init()method
override public function init():void

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

Parameters

cml:XMLList

Returns
XMLList
update()method 
public function update(_cmlIndex:String):void

Updates linkage

Parameters

_cmlIndex:String