SF_INLINE bool SetMatrix3D(const Render::Matrix3F& mat);
SetMatrix3D sets the transformation matrix of a three-dimensional display object. This matrix sets all 3D properties including translation, scaling and rotation. Only valid for DisplayObject type. Rotation is expected to be in radians and scaling normalized to 1, not as a percentage. Translation is expected to be in pixels for X, Y values and Z in world space units.
Parameters |
Description |
const Render::Matrix3F& mat |
The matrix to be set on the display object. |
True if the 3D matrix was set, otherwise false. A false value will also be returned if the display object was unloaded.