Ogre::BillboardChain::Element Class Reference

Contains the data of an element of the BillboardChain. More...

#include <OgreBillboardChain.h>

Public Member Functions

 Element ()
 Element (const Vector3 &position, Real width, Real texCoord, const ColourValue &colour, const Quaternion &orientation)

Public Attributes

ColourValue colour
Quaternion orientation
 Only used when mFaceCamera == false.
Vector3 position
Real texCoord
 U or V texture coord depending on options.
Real width

Detailed Description

Contains the data of an element of the BillboardChain.

Definition at line 84 of file OgreBillboardChain.h.

Constructor & Destructor Documentation

◆ Element() [1/2]

Ogre::BillboardChain::Element::Element ( )

◆ Element() [2/2]

Ogre::BillboardChain::Element::Element ( const Vector3 & position,
Real width,
Real texCoord,
const ColourValue & colour,
const Quaternion & orientation )

References colour, orientation, position, texCoord, and width.

Member Data Documentation

◆ colour

ColourValue Ogre::BillboardChain::Element::colour

Definition at line 101 of file OgreBillboardChain.h.

Referenced by Element().

◆ orientation

Quaternion Ogre::BillboardChain::Element::orientation

Only used when mFaceCamera == false.

Definition at line 104 of file OgreBillboardChain.h.

Referenced by Element().

◆ position

Vector3 Ogre::BillboardChain::Element::position

Definition at line 97 of file OgreBillboardChain.h.

Referenced by Element().

◆ texCoord

Real Ogre::BillboardChain::Element::texCoord

U or V texture coord depending on options.

Definition at line 100 of file OgreBillboardChain.h.

Referenced by Element().

◆ width

Real Ogre::BillboardChain::Element::width

Definition at line 98 of file OgreBillboardChain.h.

Referenced by Element().


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.