3D transform class
More...
#include <Transform3.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
Default constructor (set's an identity transform matrix)
Copy constructor (event data is not copied)
- Parameters:
-
[in] | cSource | Source to copy from |
Member Function Documentation
Copy operator (event data is not copied)
- Parameters:
-
[in] | cSource | Source to copy from |
- Returns:
- Reference to this instance
- Note:
- EventPosition, EventRotation and EventScale events are emitted
Gets the position.
- Returns:
- Position
Sets the position.
- Parameters:
-
[in] | vPosition | New position |
Gets the rotation.
- Returns:
- Rotation
Sets the rotation.
- Parameters:
-
[in] | qRotation | New rotation |
Gets the scale.
- Returns:
- Scale
Sets the scale.
- Parameters:
-
Returns the current final transform matrix.
- Returns:
- The current final transform matrix
- Note:
- If position, rotation or scale was changed, the current transform matrix is recalculated internally before it is returned
Sets the current final transform matrix.
- Parameters:
-
[in] | mTrans | The current final transform matrix |
- Note:
- The scale can't be extracted correctly from the given transform matrix if one or two scale components are negative while another is/are not (we can't figure out WHICH axis are negative!)
Returns the current final inverse transform matrix.
- Returns:
- The current final inverse transform matrix
- Note:
- If position, rotation or scale was changed, the current inverse transform matrix is recalculated internally before it is returned
Member Data Documentation
The documentation for this class was generated from the following files: