Support Forum G3D Web Page |
Public Member Functions | |
Icon () | |
Icon (const shared_ptr< Texture > &t, const Rect2D &r) | |
Create a new icon. More... | |
Icon (const shared_ptr< Texture > &t) | |
int | height () const |
const Rect2D & | sourceRect () const |
Position within texture() of this icon, in pixels. More... | |
const shared_ptr< Texture > & | texture () const |
int | width () const |
Friends | |
class | IconSet |
|
inline |
|
inline |
|
inline |
|
inline |
Position within texture() of this icon, in pixels.
|
inline |
|
inline |
|
friend |