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);
float Real
Software floating point type.
const Radian & getRotation(void) const
Get the rotation of the billboard.
Class representing colour.
static const ColourValue White
A collection of billboards (faces which are always facing the given direction) with the same (default...
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
FloatRect mTexcoordRect
Index into the BillboardSet array of texture coordinates.
Specialisation of ParticleSystemRenderer to render particles using a BillboardSet.
Standard 3-dimensional vector.
Wrapper class which indicates a given angle value is in Radians.
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
A billboard is a primitive which always faces the camera in every frame.
Vector3 mDirection
Normalised direction vector.
BillboardSet * mParentSet
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Real mWidth
Individual texture coordinates.
void resetDimensions(void)
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own...