Packagecom.gestureworks.cml.away3d.elements
Classpublic class TouchContainer3D
InheritanceTouchContainer3D Inheritance com.gestureworks.cml.elements.TouchContainer
Implements com.gestureworks.interfaces.ITouchObject3D
Subclasses ModelAsset



Public Properties
 PropertyDefined By
  centerTransform : Boolean
Sets whether the transformations are about the center of the object.
TouchContainer3D
  distance : Number
[read-only] Current distance from the target to camera
TouchContainer3D
  lookat : String
Sets the lookAt vector as a comma seperated list.
TouchContainer3D
  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
Public Methods
 MethodDefined By
  
TouchContainer3D(_vto:Object = null)
Constructor
TouchContainer3D
  
addChild3D(child:ObjectContainer3D):void
Adds a child to the 3D object this touch container represents.
TouchContainer3D
  
init():void
[override]
TouchContainer3D
  
updateVTO():void
[override]
TouchContainer3D
Property Detail
centerTransformproperty
centerTransform:Boolean

Sets whether the transformations are about the center of the object.


Implementation
    public function get centerTransform():Boolean
    public function set centerTransform(value:Boolean):void
distanceproperty 
distance:Number  [read-only]

Current distance from the target to camera


Implementation
    public function get distance():Number
lookatproperty 
lookat:String

Sets the lookAt vector as a comma seperated list.


Implementation
    public function get lookat():String
    public function set lookat(value:String):void
objproperty 
obj:ObjectContainer3D

The 3D object this touch container represents.


Implementation
    public function get obj():ObjectContainer3D
    public function set obj(value:ObjectContainer3D):void
pivotproperty 
pivot:String

Sets the pivot point as a comma seperated list.


Implementation
    public function get pivot():String
    public function set pivot(value:String):void
posproperty 
pos:*

Sets the position as a comma seperated list.


Implementation
    public function get pos():*
    public function set pos(value:any):void
rotproperty 
rot:String

Sets the rotation as a comma seperated list.


Implementation
    public function get rot():String
    public function set rot(value:String):void
scaproperty 
sca:String

Sets the scale as a comma seperated list.


Implementation
    public function get sca():String
    public function set sca(value:String):void
vtoproperty 
vto:Object[override]

Sets the transformation target


Implementation
    public function get vto():Object
    public function set vto(value:Object):void
Constructor Detail
TouchContainer3D()Constructor
public function TouchContainer3D(_vto:Object = null)

Constructor

Parameters
_vto:Object (default = null)
Method Detail
addChild3D()method
public function addChild3D(child:ObjectContainer3D):void

Adds a child to the 3D object this touch container represents.

Parameters

child:ObjectContainer3D

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

updateVTO()method 
override public function updateVTO():void