LineRendererInterface Class Reference

Base Interface for rendering particles with lines. More...

Inheritance diagram for LineRendererInterface:
GLLineRenderer IRRLineRenderer SFMLLineRenderer

List of all members.

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.

Detailed Description

Base Interface for rendering particles with lines.

Since:
1.04.00

Definition at line 34 of file SPK_LineRendererInterface.h.


Constructor & Destructor Documentation

LineRendererInterface ( float  length = 1.0f,
float  width = 1.0f 
)

Constructor of LineRendererInterface.

Parameters:
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.


Member Function Documentation

float getLength (  )  const

Gets the length multiplier of this LineRendererInterface.

Returns:
the length multiplier of this LineRendererInterface

Definition at line 114 of file SPK_LineRendererInterface.h.

float getWidth (  )  const

Gets the width of this LineRendererInterface.

Returns:
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.

Parameters:
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.

Parameters:
width : the width of this LineRendererInterface

Reimplemented in IRRLineRenderer.

Definition at line 109 of file SPK_LineRendererInterface.h.


Generated on Wed Apr 27 21:09:26 2011 for SPARK Particle Engine by  doxygen 1.6.1