interface IRotateable
Method Documentation
getRotation
public function getRotation (
): CQuaternion
Retrieves the current rotation of the object
- Returns:The rotation of the object
rotate
public function rotate (
Value: CQuaternion): Void
Rotate the object using a quaternion
- Parameters:
Value The amount to rotate the object set using a de.mirell.math.CQuaternion - Example:
My3DObject.rotate( new CQuaternion().fromEulerAngles(90, 0, 0) );
setRotation
public function setRotation (
Value: CQuaternion): Void
Set the current rotation of the object
- Parameters:
Value The rotation of the object specfied by a de.mirell.math.CQuaternion - Example:
My3DObject.setRotation( new CQuaternion().fromEulerAngles(90, 0, 0) );
- See also:
- IRotateable.as, Last Modified: 21.08.2004 12:40:54