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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.