#include <OgreBillboard.h>
Public Member Functions | |
| Billboard () | |
| Default constructor. | |
| ~Billboard () | |
| Default destructor. | |
| Billboard (const Vector3 &position, BillboardSet *owner, const ColourValue &colour=ColourValue::White) | |
| Normal constructor as called by BillboardSet. | |
| const Radian & | getRotation (void) const |
| Get the rotation of the billboard. | |
| void | setRotation (const Radian &rotation) |
| Set the rotation of the billboard. | |
| void | setPosition (const Vector3 &position) |
| Set the position of the billboard. | |
| void | setPosition (Real x, Real y, Real z) |
| Set the position of the billboard. | |
| const Vector3 & | getPosition (void) const |
| Get the position of the billboard. | |
| void | setDimensions (Real width, Real height) |
| Sets the width and height for this billboard. | |
| void | resetDimensions (void) |
| Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own. | |
| void | setColour (const ColourValue &colour) |
| Sets the colour of this billboard. | |
| const ColourValue & | getColour (void) const |
| Gets the colour of this billboard. | |
| bool | hasOwnDimensions (void) const |
| Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. | |
| Real | getOwnWidth (void) const |
| Retrieves the billboard's personal width, if hasOwnDimensions is true. | |
| Real | getOwnHeight (void) const |
| Retrieves the billboard's personal width, if hasOwnDimensions is true. | |
| void | _notifyOwner (BillboardSet *owner) |
| Internal method for notifying the billboard of it's owner. | |
Public Attributes | |
| Vector3 | mPosition |
| Vector3 | mDirection |
| BillboardSet * | mParentSet |
| ColourValue | mColour |
| Radian | mRotation |
Protected Attributes | |
| bool | mOwnDimensions |
| Real | mWidth |
| Real | mHeight |
Friends | |
| class | BillboardSet |
| class | BillboardParticleRenderer |
Definition at line 57 of file OgreBillboard.h.
|
|
Default constructor.
|
|
|
Default destructor.
|
|
||||||||||||||||
|
Normal constructor as called by BillboardSet.
|
|
|
Internal method for notifying the billboard of it's owner.
|
|
|
Gets the colour of this billboard.
|
|
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
|
|
|
Retrieves the billboard's personal width, if hasOwnDimensions is true.
|
|
|
Get the position of the billboard.
|
|
|
Get the rotation of the billboard.
Definition at line 91 of file OgreBillboard.h. |
|
|
Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. if the Billboard::setDimensions method has been called for this instance).
|
|
|
Resets this Billboard to use the parent BillboardSet's dimensions instead of it's own.
Definition at line 130 of file OgreBillboard.h. |
|
|
Sets the colour of this billboard.
|
|
||||||||||||
|
Sets the width and height for this billboard.
|
|
||||||||||||||||
|
Set the position of the billboard.
|
|
|
Set the position of the billboard.
|
|
|
Set the rotation of the billboard.
|
|
|
Definition at line 60 of file OgreBillboard.h. |
|
|
Definition at line 59 of file OgreBillboard.h. |
|
|
Definition at line 72 of file OgreBillboard.h. |
|
|
Definition at line 70 of file OgreBillboard.h. |
|
|
Definition at line 64 of file OgreBillboard.h. |
|
|
Definition at line 62 of file OgreBillboard.h. |
|
|
Definition at line 71 of file OgreBillboard.h. |
|
|
Definition at line 68 of file OgreBillboard.h. |
|
|
Definition at line 73 of file OgreBillboard.h. |
|
|
Definition at line 63 of file OgreBillboard.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:36:21 2005