Base Interface for rendering particles with points. More...
Public Member Functions | |
| PointRendererInterface (PointType type=POINT_SQUARE, float size=1.0f) | |
| Constructor of PointRendererInterface. | |
| virtual | ~PointRendererInterface () |
| Destructor of PointRendererInterface. | |
| virtual bool | setType (PointType type) |
| Sets the type of points to use in this PointRendererInterface. | |
| virtual void | setSize (float size) |
| Sets the size of the points in this PointRendererInterface. | |
| PointType | getType () const |
| Gets the type of points in this PointRendererInterface. | |
| float | getSize () const |
| Gets the size of points in this PointRendererInterface. | |
Base Interface for rendering particles with points.
Definition at line 45 of file SPK_PointRendererInterface.h.
| PointRendererInterface | ( | PointType | type = POINT_SQUARE, |
|
| float | size = 1.0f | |||
| ) |
Constructor of PointRendererInterface.
| type | : the initial type of this PointRendererInterface (must be supported by default by the platform) | |
| size | : the width of this PointRendererInterface |
Definition at line 110 of file SPK_PointRendererInterface.h.
| virtual ~PointRendererInterface | ( | ) | [virtual] |
Destructor of PointRendererInterface.
Definition at line 65 of file SPK_PointRendererInterface.h.
| float getSize | ( | ) | const |
Gets the size of points in this PointRendererInterface.
Definition at line 131 of file SPK_PointRendererInterface.h.
| PointType getType | ( | ) | const |
Gets the type of points in this PointRendererInterface.
Definition at line 126 of file SPK_PointRendererInterface.h.
| void setSize | ( | float | size | ) | [virtual] |
Sets the size of the points in this PointRendererInterface.
| size | : the size of the points in this PointRendererInterface |
Reimplemented in IRRPointRenderer.
Definition at line 121 of file SPK_PointRendererInterface.h.
| bool setType | ( | PointType | type | ) | [virtual] |
Sets the type of points to use in this PointRendererInterface.
If the type is not supported by the platform, false is returned and the type per default is set.
| type | : the type of points to use in this PointRendererInterface |
Reimplemented in IRRPointRenderer, GLPointRenderer, and SFMLPointRenderer.
Definition at line 115 of file SPK_PointRendererInterface.h.
1.6.1