OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::Billboard Struct Reference

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

BillboardSetmBillboardSet
 
uint32 mHandle
 

Detailed Description

Basic Billboard holder that belongs to a ParticleSystemDef.

Constructor & Destructor Documentation

◆ Billboard()

Ogre::Billboard::Billboard ( uint32  handle,
BillboardSet billboardSet 
)
inline

Our owner.

Member Function Documentation

◆ getDirection()

static Vector3 Ogre::Billboard::getDirection ( const Quaternion qRot)
inlinestatic

◆ set()

void Ogre::Billboard::set ( const Vector3 pos,
const Vector3 dir,
const Vector2 dim,
const ColourValue colour,
const Ogre::Radian  rot = Ogre::Radian(0.0f) 
)

◆ setColour()

void Ogre::Billboard::setColour ( const ColourValue colour)

◆ setDimensions()

void Ogre::Billboard::setDimensions ( const Vector2 dim)

◆ setDirection() [1/2]

void Ogre::Billboard::setDirection ( const Vector3 vDir)

◆ setDirection() [2/2]

void Ogre::Billboard::setDirection ( const Vector3 vDir,
const Ogre::Radian  rot 
)

◆ setOrientation()

void Ogre::Billboard::setOrientation ( const Quaternion qRot)
inline

◆ setPosition()

void Ogre::Billboard::setPosition ( const Vector3 pos)

◆ setRotation()

void Ogre::Billboard::setRotation ( const Ogre::Radian  rot)

◆ setVisible()

void Ogre::Billboard::setVisible ( const bool  bVisible)

Member Data Documentation

◆ mBillboardSet

BillboardSet* Ogre::Billboard::mBillboardSet

◆ mHandle

uint32 Ogre::Billboard::mHandle

The documentation for this struct was generated from the following file: