|
Untold Engine
Beta v0.0.16
docs
|
The U4DTransformation class manages the transformation of all entities. More...
Inherits U4DEngine::U4DTransformationManagerInterface.
Public Member Functions | |
| U4DTransformation (U4DEntity *uUObject) | |
| class constructor More... | |
| ~U4DTransformation () | |
| class destructor | |
| void | updateSpaceMatrixPosition (U4DQuaternion &translation) |
| updates the space matrix (position) More... | |
| void | updateSpaceMatrixOrientation (U4DQuaternion &orientation) |
| updates the space matrix (orientation) More... | |
| void | translateTo (U4DVector3n &translation) |
| Method which translates entity to a new position. More... | |
| void | translateTo (float x, float y, float z) |
| Method which translates entity to a new position. More... | |
| void | translateTo (U4DVector2n &translation) |
| Method which translates entity to a new position. More... | |
| void | translateBy (U4DVector3n &translation) |
| Method which translates entity by a certain amount. More... | |
| void | translateBy (float x, float y, float z) |
| Method which translates entity by certain amount. More... | |
| void | rotateTo (U4DQuaternion &rotation) |
| Method which rotates entity to a new orientation. More... | |
| void | rotateTo (U4DMatrix3n &uRotationMatrix) |
| rotates to a new orientation More... | |
| void | rotateTo (float angle, U4DVector3n &axis) |
| Method which rotates entity to a new orientation. More... | |
| void | rotateTo (float angleX, float angleY, float angleZ) |
| Method which rotates entity to a new orientation. More... | |
| void | rotateBy (U4DQuaternion &rotation) |
| Method which rotates entity by a certain amount. More... | |
| void | rotateBy (float angle, U4DVector3n &axis) |
| Method which rotates entity by certain amount. More... | |
| void | rotateBy (float angleX, float angleY, float angleZ) |
| Method which rotates entity by a certain amount. More... | |
| void | rotateAboutAxis (float angle, U4DVector3n &axisOrientation, U4DVector3n &axisPosition) |
| Method which rotates entity about an axis. More... | |
| void | rotateAboutAxis (U4DQuaternion &uOrientation, U4DVector3n &axisPosition) |
| Method which rotates entity about an axis. More... | |
Public Member Functions inherited from U4DEngine::U4DTransformationManagerInterface | |
| ~U4DTransformationManagerInterface () | |
| interface destructor | |
The U4DTransformation class manages the transformation of all entities.
| U4DEngine::U4DTransformation::U4DTransformation | ( | U4DEntity * | uUObject | ) |
class constructor
| uUObject | pointer to entity |
|
virtual |
Method which rotates entity about an axis.
| angle | Angle representing rotation |
| axisOrientation | Axis of rotation |
| axisPosition | Position of rotation axis |
Implements U4DEngine::U4DTransformationManagerInterface.
| void U4DEngine::U4DTransformation::rotateAboutAxis | ( | U4DQuaternion & | uOrientation, |
| U4DVector3n & | axisPosition | ||
| ) |
Method which rotates entity about an axis.
| uOrientation | Orientation to rotate |
| axisPosition | Position of axis |
|
virtual |
Method which rotates entity by certain amount.
| angle | Angle of rotation |
| axis | Axis of rotation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which rotates entity by a certain amount.
| angleX | Angle of rotation along x-axis |
| angleY | Angle of rotation along y-axis |
| angleZ | Angle of rotation along z-axis |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which rotates entity by a certain amount.
| rotation | Quaternion representing orientation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which rotates entity to a new orientation.
| angle | Angle of rotation |
| axis | Asis of rotation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which rotates entity to a new orientation.
| angleX | Angle of rotation along the x-axis |
| angleY | Angle of rotation along the y-axis |
| angleZ | Angle of rotation along the z-axis |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
rotates to a new orientation
| uRotationMatrix | matrix representing the orientation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which rotates entity to a new orientation.
| rotation | Quaternion representing orientation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which translates entity by certain amount.
| x | Translaiion along x-coordinate |
| y | Translation along y-coordinate |
| z | Translation along z-coordinate |
Implements U4DEngine::U4DTransformationManagerInterface.
| void U4DEngine::U4DTransformation::translateBy | ( | U4DVector3n & | translation | ) |
Method which translates entity by a certain amount.
| translation | 3D vector offset translation |
|
virtual |
Method which translates entity to a new position.
| x | Translation along x-coordinate |
| y | Translation along y-coordinate |
| z | Tranalation along z-coordinate |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which translates entity to a new position.
| translation | 2D vector translation |
Implements U4DEngine::U4DTransformationManagerInterface.
|
virtual |
Method which translates entity to a new position.
| translation | 3D vector translation |
Implements U4DEngine::U4DTransformationManagerInterface.
| void U4DEngine::U4DTransformation::updateSpaceMatrixOrientation | ( | U4DQuaternion & | orientation | ) |
updates the space matrix (orientation)
| orientation | orientation quaternion |
| void U4DEngine::U4DTransformation::updateSpaceMatrixPosition | ( | U4DQuaternion & | translation | ) |
updates the space matrix (position)
| translation | position quaternion |