OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Basic Billboard holder that belongs to a ParticleSystemDef. More...
#include <OgreBillboard2.h>
Public Member Functions | |
Billboard (uint32 handle, BillboardSet *billboardSet) | |
Our owner. More... | |
void | set (const Vector3 &pos, const Vector3 &dir, const Vector2 &dim, const ColourValue &colour, const Ogre::Radian rot=Ogre::Radian(0.0f)) |
void | setColour (const ColourValue &colour) |
void | setDimensions (const Vector2 &dim) |
void | setDirection (const Vector3 &vDir) |
void | setDirection (const Vector3 &vDir, const Ogre::Radian rot) |
void | setOrientation (const Quaternion &qRot) |
void | setPosition (const Vector3 &pos) |
void | setRotation (const Ogre::Radian rot) |
void | setVisible (const bool bVisible) |
Static Public Member Functions | |
static Vector3 | getDirection (const Quaternion &qRot) |
Public Attributes | |
BillboardSet * | mBillboardSet |
uint32 | mHandle |
Basic Billboard holder that belongs to a ParticleSystemDef.
|
inline |
Our owner.
|
inlinestatic |
References Ogre::Quaternion::zAxis().
void Ogre::Billboard::set | ( | const Vector3 & | pos, |
const Vector3 & | dir, | ||
const Vector2 & | dim, | ||
const ColourValue & | colour, | ||
const Ogre::Radian | rot = Ogre::Radian(0.0f) |
||
) |
void Ogre::Billboard::setColour | ( | const ColourValue & | colour | ) |
void Ogre::Billboard::setDimensions | ( | const Vector2 & | dim | ) |
void Ogre::Billboard::setDirection | ( | const Vector3 & | vDir | ) |
void Ogre::Billboard::setDirection | ( | const Vector3 & | vDir, |
const Ogre::Radian | rot | ||
) |
|
inline |
void Ogre::Billboard::setPosition | ( | const Vector3 & | pos | ) |
void Ogre::Billboard::setRotation | ( | const Ogre::Radian | rot | ) |
void Ogre::Billboard::setVisible | ( | const bool | bVisible | ) |
BillboardSet* Ogre::Billboard::mBillboardSet |
uint32 Ogre::Billboard::mHandle |