SF_INLINE bool GetDisplayMatrix(Render::Matrix2F* pmat) const;
GetDisplayMatrix retrieves the display matrix of a display object. Only valid for DisplayObject type. Note that this method is for advanced users only. Rotation will be in radians and scaling will be normalized to 1. Translation will be in pixels in the display object’s coordinate system.
Parameters |
Description |
Render::Matrix2F* pmat |
The holder for the returned display matrix. |
True if the display matrix was retrieved, otherwise false. A false value will also be returned if the display object was unloaded.