Oriented2DRendererInterface Class Reference

Base Interface for rendering particles that can be oriented in a 2D world. More...

Inheritance diagram for Oriented2DRendererInterface:
SFMLQuadRenderer

List of all members.

Public Member Functions

 Oriented2DRendererInterface ()
 Constructor of Oriented2DRendererInterface.
virtual ~Oriented2DRendererInterface ()
 Destructor of Oriented2DRendererInterface.
void setOrientation (Orientation2D orientation)
 Sets the way quads are oriented in the universe.
Orientation2D getOrientation () const
 Gets the orientation of the quads.

Public Attributes

Vector3D orientationVector
 The orientation vector.

Detailed Description

Base Interface for rendering particles that can be oriented in a 2D world.

Since:
1.04.00

Definition at line 48 of file SPK_Oriented2DRendererInterface.h.


Constructor & Destructor Documentation

Constructor of Oriented2DRendererInterface.

Definition at line 128 of file SPK_Oriented2DRendererInterface.h.

virtual ~Oriented2DRendererInterface (  )  [virtual]

Destructor of Oriented2DRendererInterface.

Definition at line 80 of file SPK_Oriented2DRendererInterface.h.


Member Function Documentation

Orientation2D getOrientation (  )  const

Gets the orientation of the quads.

Returns:
the orientation of the quads

Definition at line 139 of file SPK_Oriented2DRendererInterface.h.

void setOrientation ( Orientation2D  orientation  ) 

Sets the way quads are oriented in the universe.

Parameters:
orientation : the orientation of the quad

Definition at line 134 of file SPK_Oriented2DRendererInterface.h.


Member Data Documentation

The orientation vector.

It is used in 2 orientation modes :

  • ORIENTATION2D_AXIS : The orientation vector is used as the axis
  • ORIENTATION2D_POINT : The orientation vector is the point particle look to

In other modes the orientation vector is not used

Definition at line 66 of file SPK_Oriented2DRendererInterface.h.


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