PagedGeometry  1.2.0
Forests::ImpostorBatch Class Reference

Public Member Functions

void build ()
 
void clear ()
 
void setVisible (bool visible)
 
void setFade (bool enabled, Ogre::Real visibleDist, Ogre::Real invisibleDist)
 
void setBillboardOrigin (Ogre::BillboardOrigin origin)
 
void addBillboard (const Ogre::Vector3 &position, const Ogre::Quaternion &rotation, const Ogre::Vector3 &scale, const Ogre::ColourValue &color=Ogre::ColourValue::White)
 
void setAngle (Ogre::Real pitchDeg, Ogre::Real yawDeg)
 

Static Public Member Functions

static ImpostorBatchgetBatch (ImpostorPage *group, Ogre::Entity *entity)
 
static Ogre::String generateEntityKey (Ogre::Entity *entity)
 

Protected Member Functions

 ImpostorBatch (ImpostorPage *group, Ogre::Entity *entity)
 

Static Protected Member Functions

static Ogre::String getUniqueID (const Ogre::String &prefix)
 

Protected Attributes

ImpostorTexturem_pTexture
 
StaticBillboardSetbbset
 
Ogre::Vector3 entityBBCenter
 
ImpostorPageigroup
 
Ogre::uint16 pitchIndex
 
Ogre::uint16 yawIndex
 

Static Protected Attributes

static unsigned long GUID = 0