Packagecom.gestureworks.away3d.utils
Classpublic class TransformUtils
InheritanceTransformUtils Inheritance Object

...



Public Methods
 MethodDefined By
  
alignRotateToCamera(obj3d:ObjectContainer3D, camera:Camera3D):Vector3D
[static] This method will update a dtheta gesture rotate value so that applied transformation will be parallel to the camera's view plane.
TransformUtils
  
snapRotateToCamera(obj3d:ObjectContainer3D, camera:Camera3D):Vector3D
[static] This method will update a dtheta gesture rotate value so that applied transformation will snap to the nearest x,y,z axis perpendicular to the camera's view plane (meaning the applied rotational transformation will be approximately parallel to the camera's view plane).
TransformUtils
  
updateAxisRotation(e:GWGestureEvent, axis:Vector3D):void
[static]
TransformUtils
Method Detail
alignRotateToCamera()method
public static function alignRotateToCamera(obj3d:ObjectContainer3D, camera:Camera3D):Vector3D

This method will update a dtheta gesture rotate value so that applied transformation will be parallel to the camera's view plane.

Parameters

obj3d:ObjectContainer3D
 
camera:Camera3D

Returns
Vector3D
snapRotateToCamera()method 
public static function snapRotateToCamera(obj3d:ObjectContainer3D, camera:Camera3D):Vector3D

This method will update a dtheta gesture rotate value so that applied transformation will snap to the nearest x,y,z axis perpendicular to the camera's view plane (meaning the applied rotational transformation will be approximately parallel to the camera's view plane). axis on the object.

Parameters

obj3d:ObjectContainer3D
 
camera:Camera3D

Returns
Vector3D
updateAxisRotation()method 
public static function updateAxisRotation(e:GWGestureEvent, axis:Vector3D):void

Parameters

e:GWGestureEvent
 
axis:Vector3D