Package | com.gestureworks.cml.away3d.elements |
Class | public class ModelAsset |
Inheritance | ModelAsset ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | centerTransform : Boolean
Sets whether the transformations are about the center of the object. | TouchContainer3D | |
container3D : ObjectContainer3D | ModelAsset | ||
![]() | distance : Number [read-only]
Current distance from the target to camera
| TouchContainer3D | |
geometry : Geometry | ModelAsset | ||
![]() | lookat : String
Sets the lookAt vector as a comma seperated list. | TouchContainer3D | |
material : MaterialBase | ModelAsset | ||
mesh : Mesh | ModelAsset | ||
mref : * | ModelAsset | ||
![]() | obj : ObjectContainer3D
The 3D object this touch container represents. | TouchContainer3D | |
![]() | pivot : String
Sets the pivot point as a comma seperated list. | TouchContainer3D | |
![]() | pos : *
Sets the position as a comma seperated list. | TouchContainer3D | |
![]() | rot : String
Sets the rotation as a comma seperated list. | TouchContainer3D | |
![]() | sca : String
Sets the scale as a comma seperated list. | TouchContainer3D | |
![]() | vto : Object [override]
Sets the transformation target
| TouchContainer3D |
Method | Defined By | ||
---|---|---|---|
ModelAsset | |||
![]() | 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 | ||
![]() | updateVTO():void [override] | TouchContainer3D |
container3D | property |
public var container3D:ObjectContainer3D
geometry | property |
public var geometry:Geometry
material | property |
public var material:MaterialBase
mesh | property |
public var mesh:Mesh
mref | property |
mref:*
public function get mref():*
public function set mref(value:any):void
ModelAsset | () | Constructor |
public function ModelAsset()
init | () | method |
override public function init():void
parseCML | () | method |
override public function parseCML(cml:XMLList):XMLList
Parameters
cml:XMLList |
XMLList |
update | () | method |
public function update(_cmlIndex:String):void
Updates linkage
Parameters
_cmlIndex:String |