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);
Class representing colour.
float Real
Software floating point type.
Vector3 mDirection
Normalised direction vector.
static const ColourValue White
Standard 3-dimensional vector.
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...
const FloatRect & getTexcoordRect(void) const
getTexcoordRect() returns the previous value set by setTexcoordRect().
Real mWidth
Individual texture coordinates.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
A collection of billboards (faces which are always facing the given direction) with the same (default...
uint16 getTexcoordIndex(void) const
getTexcoordIndex() returns the previous value set by setTexcoordIndex().
bool isUseTexcoordRect(void) const
Returns true if this billboard use individual texture coordinate rect (i.e.
A billboard is a primitive which always faces the camera in every frame.
const Radian & getRotation(void) const
Get the rotation of the billboard.
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.