Base Interface for rendering particles with lines. More...
Public Member Functions | |
LineRendererInterface (float length=1.0f, float width=1.0f) | |
Constructor of LineRendererInterface. | |
virtual | ~LineRendererInterface () |
Destructor of LineRendererInterface. | |
void | setLength (float length) |
Sets the length multiplier of this LineRendererInterface. | |
virtual void | setWidth (float width) |
Sets the width of this LineRendererInterface. | |
float | getLength () const |
Gets the length multiplier of this LineRendererInterface. | |
float | getWidth () const |
Gets the width of this LineRendererInterface. |
Base Interface for rendering particles with lines.
Definition at line 34 of file SPK_LineRendererInterface.h.
LineRendererInterface | ( | float | length = 1.0f , |
|
float | width = 1.0f | |||
) |
Constructor of LineRendererInterface.
length | : the length multiplier of this LineRendererInterface | |
width | : the width of this GLLineRenderer |
Definition at line 99 of file SPK_LineRendererInterface.h.
virtual ~LineRendererInterface | ( | ) | [virtual] |
Destructor of LineRendererInterface.
Definition at line 54 of file SPK_LineRendererInterface.h.
float getLength | ( | ) | const |
Gets the length multiplier of this LineRendererInterface.
Definition at line 114 of file SPK_LineRendererInterface.h.
float getWidth | ( | ) | const |
Gets the width of this LineRendererInterface.
Definition at line 119 of file SPK_LineRendererInterface.h.
void setLength | ( | float | length | ) |
Sets the length multiplier of this LineRendererInterface.
The length multiplier is the value which will be multiplied by the Particle velocity to get the line length in the universe.
A positive length means the line will be drawn in advance to the Particle, as opposed to a negative length.
length | : the length multiplier of this GLLineRenderer |
Definition at line 104 of file SPK_LineRendererInterface.h.
void setWidth | ( | float | width | ) | [virtual] |
Sets the width of this LineRendererInterface.
width | : the width of this LineRendererInterface |
Reimplemented in IRRLineRenderer.
Definition at line 109 of file SPK_LineRendererInterface.h.