29 #ifndef __Billboard_H__
30 #define __Billboard_H__
110 void setRotation(
const Radian& rotation);
117 void setPosition(
const Vector3& position);
131 const Vector3& getPosition(
void)
const;
140 void setDimensions(
Real width,
Real height);
161 bool hasOwnDimensions(
void)
const;
164 Real getOwnWidth(
void)
const;
167 Real getOwnHeight(
void)
const;
191 void setTexcoordIndex(
uint16 texcoordIndex);
205 void setTexcoordRect(
const FloatRect& texcoordRect);
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
Class representing colour.
float Real
Software floating point type.
Vector3 mDirection
Normalised direction vector.
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
static const ColourValue White
const Radian & getRotation(void) const
Get the rotation of the billboard.
Standard 3-dimensional vector.
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
BillboardSet * mParentSet
void resetDimensions(void)
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own...
Real mWidth
Individual texture coordinates.
A collection of billboards (faces which are always facing the given direction) with the same (default...
A billboard is a primitive which always faces the camera in every frame.
FloatRect mTexcoordRect
Index into the BillboardSet array of texture coordinates.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Wrapper class which indicates a given angle value is in Radians.