#include <OgreParticleSystem.h>
Public Types | |||||||
typedef std::vector < ShadowRenderable * > | ShadowRenderableList | ||||||
typedef VectorIterator < ShadowRenderableList > | ShadowRenderableListIterator | ||||||
Public Member Functions | |||||||
ParticleSystem () | |||||||
Default constructor required for STL creation in manager. | |||||||
ParticleSystem (const String &name, const String &resourceGroupName) | |||||||
Creates a particle system with no emitters or affectors. | |||||||
virtual | ~ParticleSystem () | ||||||
void | setRenderer (const String &typeName) | ||||||
Sets the ParticleRenderer to be used to render this particle system. | |||||||
ParticleSystemRenderer * | getRenderer (void) const | ||||||
Gets the ParticleRenderer to be used to render this particle system. | |||||||
const String & | getRendererName (void) const | ||||||
Gets the name of the ParticleRenderer to be used to render this particle system. | |||||||
ParticleEmitter * | addEmitter (const String &emitterType) | ||||||
Adds an emitter to this particle system. | |||||||
ParticleEmitter * | getEmitter (unsigned short index) const | ||||||
Retrieves an emitter by it's index (zero-based). | |||||||
unsigned short | getNumEmitters (void) const | ||||||
Returns the number of emitters for this particle system. | |||||||
void | removeEmitter (unsigned short index) | ||||||
Removes an emitter from the system. | |||||||
void | removeAllEmitters (void) | ||||||
Removes all the emitters from this system. | |||||||
ParticleAffector * | addAffector (const String &affectorType) | ||||||
Adds an affector to this particle system. | |||||||
ParticleAffector * | getAffector (unsigned short index) const | ||||||
Retrieves an affector by it's index (zero-based). | |||||||
unsigned short | getNumAffectors (void) const | ||||||
Returns the number of affectors for this particle system. | |||||||
void | removeAffector (unsigned short index) | ||||||
Removes an affector from the system. | |||||||
void | removeAllAffectors (void) | ||||||
Removes all the affectors from this system. | |||||||
void | clear () | ||||||
Empties this set of all particles. | |||||||
size_t | getNumParticles (void) const | ||||||
Gets the number of individual particles in the system right now. | |||||||
Particle * | createParticle (void) | ||||||
Manually add a particle to the system. | |||||||
Particle * | createEmitterParticle (const String &emitterName) | ||||||
Manually add an emitter particle to the system. | |||||||
Particle * | getParticle (size_t index) | ||||||
Retrieve a particle from the system for manual tweaking. | |||||||
size_t | getParticleQuota (void) const | ||||||
Returns the maximum number of particles this system is allowed to have active at once. | |||||||
void | setParticleQuota (size_t quota) | ||||||
Sets the maximum number of particles this system is allowed to have active at once. | |||||||
size_t | getEmittedEmitterQuota (void) const | ||||||
Returns the maximum number of emitted emitters this system is allowed to have active at once. | |||||||
void | setEmittedEmitterQuota (size_t quota) | ||||||
Sets the maximum number of emitted emitters this system is allowed to have active at once. | |||||||
ParticleSystem & | operator= (const ParticleSystem &rhs) | ||||||
Assignment operator for copying. | |||||||
void | _update (Real timeElapsed) | ||||||
Updates the particles in the system based on time elapsed. | |||||||
ParticleIterator | _getIterator (void) | ||||||
Returns an iterator for stepping through all particles in this system. | |||||||
virtual void | setMaterialName (const String &name) | ||||||
Sets the name of the material to be used for this billboard set. | |||||||
virtual const String & | getMaterialName (void) const | ||||||
Sets the name of the material to be used for this billboard set. | |||||||
virtual void | _notifyCurrentCamera (Camera *cam) | ||||||
Overridden from MovableObject. | |||||||
void | _notifyAttached (Node *parent, bool isTagPoint=false) | ||||||
Overridden from MovableObject. | |||||||
virtual const AxisAlignedBox & | getBoundingBox (void) const | ||||||
Overridden from MovableObject. | |||||||
virtual Real | getBoundingRadius (void) const | ||||||
Overridden from MovableObject. | |||||||
virtual void | _updateRenderQueue (RenderQueue *queue) | ||||||
Overridden from MovableObject. | |||||||
void | visitRenderables (Renderable::Visitor *visitor, bool debugRenderables=false) | ||||||
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject will add to the render queue when asked, if any.
| |||||||
void | fastForward (Real time, Real interval=0.1) | ||||||
Fast-forwards this system by the required number of seconds. | |||||||
void | setSpeedFactor (Real speedFactor) | ||||||
Sets a 'speed factor' on this particle system, which means it scales the elapsed real time which has passed by this factor before passing it to the emitters, affectors, and the particle life calculation. | |||||||
Real | getSpeedFactor (void) const | ||||||
Gets the 'speed factor' on this particle system. | |||||||
void | setIterationInterval (Real iterationInterval) | ||||||
Sets a 'iteration interval' on this particle system. | |||||||
Real | getIterationInterval (void) const | ||||||
Gets a 'iteration interval' on this particle system. | |||||||
void | setNonVisibleUpdateTimeout (Real timeout) | ||||||
Sets when the particle system should stop updating after it hasn't been visible for a while. | |||||||
Real | getNonVisibleUpdateTimeout (void) const | ||||||
Gets when the particle system should stop updating after it hasn't been visible for a while. | |||||||
const String & | getMovableType (void) const | ||||||
Overridden from MovableObject. | |||||||
virtual void | _notifyParticleResized (void) | ||||||
Internal callback used by Particles to notify their parent that they have been resized. | |||||||
virtual void | _notifyParticleRotated (void) | ||||||
Internal callback used by Particles to notify their parent that they have been rotated. | |||||||
virtual void | setDefaultDimensions (Real width, Real height) | ||||||
Sets the default dimensions of the particles in this set. | |||||||
virtual void | setDefaultWidth (Real width) | ||||||
See setDefaultDimensions - this sets 1 component individually. | |||||||
virtual Real | getDefaultWidth (void) const | ||||||
See setDefaultDimensions - this gets 1 component individually. | |||||||
virtual void | setDefaultHeight (Real height) | ||||||
See setDefaultDimensions - this sets 1 component individually. | |||||||
virtual Real | getDefaultHeight (void) const | ||||||
See setDefaultDimensions - this gets 1 component individually. | |||||||
virtual bool | getCullIndividually (void) const | ||||||
Returns whether or not particles in this are tested individually for culling. | |||||||
virtual void | setCullIndividually (bool cullIndividual) | ||||||
Sets whether culling tests particles in this individually as well as in a group. | |||||||
virtual const String & | getResourceGroupName (void) const | ||||||
Return the resource group to be used to load dependent resources. | |||||||
const String & | getOrigin (void) const | ||||||
Get the origin of this particle system, e.g. | |||||||
void | _notifyOrigin (const String &origin) | ||||||
Notify this particle system of it's origin. | |||||||
void | setRenderQueueGroup (uint8 queueID) | ||||||
Sets the render queue group this entity will be rendered through.
| |||||||
void | setSortingEnabled (bool enabled) | ||||||
Set whether or not particles are sorted according to the camera. | |||||||
bool | getSortingEnabled (void) const | ||||||
Gets whether particles are sorted relative to the camera. | |||||||
void | setBounds (const AxisAlignedBox &aabb) | ||||||
Set the (initial) bounds of the particle system manually. | |||||||
void | setBoundsAutoUpdated (bool autoUpdate, Real stopIn=0.0f) | ||||||
Sets whether the bounds will be automatically updated for the life of the particle system. | |||||||
void | setKeepParticlesInLocalSpace (bool keepLocal) | ||||||
Sets whether particles (and any affector effects) remain relative to the node the particle system is attached to. | |||||||
bool | getKeepParticlesInLocalSpace (void) const | ||||||
Gets whether particles (and any affector effects) remain relative to the node the particle system is attached to. | |||||||
void | _updateBounds (void) | ||||||
Internal method for updating the bounds of the particle system. | |||||||
uint32 | getTypeFlags (void) const | ||||||
Override to return specific type flag. | |||||||
ParamDictionary * | getParamDictionary (void) | ||||||
Retrieves the parameter dictionary for this class. | |||||||
const ParamDictionary * | getParamDictionary (void) const | ||||||
const ParameterList & | getParameters (void) const | ||||||
Retrieves a list of parameters valid for this object. | |||||||
virtual bool | setParameter (const String &name, const String &value) | ||||||
Generic parameter setting method. | |||||||
virtual void | setParameterList (const NameValuePairList ¶mList) | ||||||
Generic multiple parameter setting method. | |||||||
virtual String | getParameter (const String &name) const | ||||||
Generic parameter retrieval method. | |||||||
virtual void | copyParametersTo (StringInterface *dest) const | ||||||
Method for copying this object's parameters to another object. | |||||||
virtual void | _notifyCreator (MovableObjectFactory *fact) | ||||||
Notify the object of it's creator (internal use only). | |||||||
virtual MovableObjectFactory * | _getCreator (void) const | ||||||
Get the creator of this object, if any (internal use only). | |||||||
virtual void | _notifyManager (SceneManager *man) | ||||||
Notify the object of it's manager (internal use only). | |||||||
virtual SceneManager * | _getManager (void) const | ||||||
Get the manager of this object, if any (internal use only). | |||||||
virtual const String & | getName (void) const | ||||||
Returns the name of this object. | |||||||
virtual Node * | getParentNode (void) const | ||||||
Returns the node to which this object is attached. | |||||||
virtual SceneNode * | getParentSceneNode (void) const | ||||||
Returns the scene node to which this object is attached. | |||||||
virtual bool | isAttached (void) const | ||||||
Returns true if this object is attached to a SceneNode or TagPoint. | |||||||
virtual void | detatchFromParent (void) | ||||||
Detaches an object from a parent SceneNode or TagPoint, if attached. | |||||||
virtual bool | isInScene (void) const | ||||||
Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is currently in an active part of the scene graph. | |||||||
virtual void | _notifyMoved (void) | ||||||
Internal method called to notify the object that it has been moved. | |||||||
virtual const AxisAlignedBox & | getWorldBoundingBox (bool derive=false) const | ||||||
Retrieves the axis-aligned bounding box for this object in world coordinates. | |||||||
virtual const Sphere & | getWorldBoundingSphere (bool derive=false) const | ||||||
Retrieves the worldspace bounding sphere for this object. | |||||||
virtual void | setVisible (bool visible) | ||||||
Tells this object whether to be visible or not, if it has a renderable component. | |||||||
virtual bool | getVisible (void) const | ||||||
Gets this object whether to be visible or not, if it has a renderable component. | |||||||
virtual bool | isVisible (void) const | ||||||
Returns whether or not this object is supposed to be visible or not. | |||||||
virtual void | setRenderingDistance (Real dist) | ||||||
Sets the distance at which the object is no longer rendered. | |||||||
virtual Real | getRenderingDistance (void) const | ||||||
Gets the distance at which batches are no longer rendered. | |||||||
virtual void | setUserObject (UserDefinedObject *obj) | ||||||
Call this to associate your own custom user object instance with this MovableObject. | |||||||
virtual UserDefinedObject * | getUserObject (void) | ||||||
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject. | |||||||
virtual void | setUserAny (const Any &anything) | ||||||
Sets any kind of user value on this object. | |||||||
virtual const Any & | getUserAny (void) const | ||||||
Retrieves the custom user value associated with this object. | |||||||
virtual uint8 | getRenderQueueGroup (void) const | ||||||
Gets the queue group for this entity, see setRenderQueueGroup for full details. | |||||||
virtual const Matrix4 & | _getParentNodeFullTransform (void) const | ||||||
return the full transformation of the parent sceneNode or the attachingPoint node | |||||||
virtual void | setQueryFlags (uint32 flags) | ||||||
Sets the query flags for this object. | |||||||
virtual void | addQueryFlags (uint32 flags) | ||||||
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object. | |||||||
virtual void | removeQueryFlags (unsigned long flags) | ||||||
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object. | |||||||
virtual uint32 | getQueryFlags (void) const | ||||||
Returns the query flags relevant for this object. | |||||||
virtual void | setVisibilityFlags (uint32 flags) | ||||||
Sets the visiblity flags for this object. | |||||||
virtual void | addVisibilityFlags (uint32 flags) | ||||||
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object. | |||||||
virtual void | removeVisibilityFlags (uint32 flags) | ||||||
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object. | |||||||
virtual uint32 | getVisibilityFlags (void) const | ||||||
Returns the visibility flags relevant for this object. | |||||||
virtual void | setListener (Listener *listener) | ||||||
Sets a listener for this object. | |||||||
virtual Listener * | getListener (void) const | ||||||
Gets the current listener for this object. | |||||||
virtual const LightList & | queryLights (void) const | ||||||
Gets a list of lights, ordered relative to how close they are to this movable object. | |||||||
virtual LightList * | _getLightList () | ||||||
Returns a pointer to the current list of lights for this object. | |||||||
EdgeData * | getEdgeList (void) | ||||||
Define a default implementation of method from ShadowCaster which implements no shadows. | |||||||
bool | hasEdgeList (void) | ||||||
Define a default implementation of method from ShadowCaster which implements no shadows. | |||||||
ShadowRenderableListIterator | getShadowVolumeRenderableIterator (ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, bool extrudeVertices, Real extrusionDist, unsigned long flags=0) | ||||||
Define a default implementation of method from ShadowCaster which implements no shadows. | |||||||
const AxisAlignedBox & | getLightCapBounds (void) const | ||||||
Overridden member from ShadowCaster. | |||||||
const AxisAlignedBox & | getDarkCapBounds (const Light &light, Real dirLightExtrusionDist) const | ||||||
Overridden member from ShadowCaster. | |||||||
void | setCastShadows (bool enabled) | ||||||
Sets whether or not this object will cast shadows. | |||||||
bool | getCastShadows (void) const | ||||||
Returns whether shadow casting is enabled for this object. | |||||||
bool | getReceivesShadows () | ||||||
Returns whether the Material of any Renderable that this MovableObject will add to the render queue will receive shadows. | |||||||
Real | getPointExtrusionDistance (const Light *l) const | ||||||
Get the distance to extrude for a point/spot light. | |||||||
virtual void | setDebugDisplayEnabled (bool enabled) | ||||||
Sets whether or not the debug display of this object is enabled. | |||||||
virtual bool | isDebugDisplayEnabled (void) const | ||||||
Gets whether debug display of this object is enabled. | |||||||
const StringVector & | getAnimableValueNames (void) const | ||||||
Gets a list of animable value names for this object. | |||||||
virtual AnimableValuePtr | createAnimableValue (const String &valueName) | ||||||
Create a reference-counted AnimableValuePtr for the named value. | |||||||
void * | operator new (size_t sz, const char *file, int line, const char *func) | ||||||
operator new, with debug line info | |||||||
void * | operator new (size_t sz) | ||||||
void * | operator new (size_t sz, void *ptr) | ||||||
placement operator new | |||||||
void * | operator new[] (size_t sz, const char *file, int line, const char *func) | ||||||
array operator new, with debug line info | |||||||
void * | operator new[] (size_t sz) | ||||||
void | operator delete (void *ptr) | ||||||
void | operator delete (void *ptr, void *) | ||||||
void | operator delete (void *ptr, const char *, int, const char *) | ||||||
void | operator delete[] (void *ptr) | ||||||
void | operator delete[] (void *ptr, const char *, int, const char *) | ||||||
Static Public Member Functions | |||||||
static void | setDefaultIterationInterval (Real iterationInterval) | ||||||
Set the default iteration interval for all ParticleSystem instances. | |||||||
static Real | getDefaultIterationInterval (void) | ||||||
Get the default iteration interval for all ParticleSystem instances. | |||||||
static void | setDefaultNonVisibleUpdateTimeout (Real timeout) | ||||||
Set the default nonvisible timeout for all ParticleSystem instances. | |||||||
static Real | getDefaultNonVisibleUpdateTimeout (void) | ||||||
Get the default nonvisible timeout for all ParticleSystem instances. | |||||||
static void | cleanupDictionary () | ||||||
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. | |||||||
static void | setDefaultQueryFlags (uint32 flags) | ||||||
Set the default query flags for all future MovableObject instances. | |||||||
static uint32 | getDefaultQueryFlags () | ||||||
Get the default query flags for all future MovableObject instances. | |||||||
static void | setDefaultVisibilityFlags (uint32 flags) | ||||||
Set the default visibility flags for all future MovableObject instances. | |||||||
static uint32 | getDefaultVisibilityFlags () | ||||||
Get the default visibility flags for all future MovableObject instances. | |||||||
static void | extrudeVertices (const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist) | ||||||
Utility method for extruding vertices based on a light. | |||||||
Protected Types | |||||||
typedef std::list< Particle * > | ActiveParticleList | ||||||
typedef std::list< Particle * > | FreeParticleList | ||||||
typedef std::vector< Particle * > | ParticlePool | ||||||
typedef std::list < ParticleEmitter * > | FreeEmittedEmitterList | ||||||
typedef std::list < ParticleEmitter * > | ActiveEmittedEmitterList | ||||||
typedef std::vector < ParticleEmitter * > | EmittedEmitterList | ||||||
typedef std::map< String, FreeEmittedEmitterList > | FreeEmittedEmitterMap | ||||||
typedef std::map< String, EmittedEmitterList > | EmittedEmitterPool | ||||||
typedef std::vector < ParticleEmitter * > | ParticleEmitterList | ||||||
typedef std::vector < ParticleAffector * > | ParticleAffectorList | ||||||
typedef std::map< String, StringVector > | AnimableDictionaryMap | ||||||
Protected Member Functions | |||||||
void | _expire (Real timeElapsed) | ||||||
Internal method used to expire dead particles. | |||||||
void | _triggerEmitters (Real timeElapsed) | ||||||
Spawn new particles based on free quota and emitter requirements. | |||||||
void | _executeTriggerEmitters (ParticleEmitter *emitter, unsigned requested, Real timeElapsed) | ||||||
Helper function that actually performs the emission of particles. | |||||||
void | _applyMotion (Real timeElapsed) | ||||||
Updates existing particle based on their momentum. | |||||||
void | _triggerAffectors (Real timeElapsed) | ||||||
Applies the effects of affectors. | |||||||
void | _sortParticles (Camera *cam) | ||||||
Sort the particles in the system. | |||||||
void | increasePool (size_t size) | ||||||
Resize the internal pool of particles. | |||||||
void | increaseEmittedEmitterPool (size_t size) | ||||||
Resize the internal pool of emitted emitters. | |||||||
void | initParameters (void) | ||||||
Internal method for initialising string interface. | |||||||
void | configureRenderer (void) | ||||||
Internal method to configure the renderer. | |||||||
void | createVisualParticles (size_t poolstart, size_t poolend) | ||||||
Internal method for creating ParticleVisualData instances for the pool. | |||||||
void | destroyVisualParticles (size_t poolstart, size_t poolend) | ||||||
Internal method for destroying ParticleVisualData instances for the pool. | |||||||
void | initialiseEmittedEmitters (void) | ||||||
Create a pool of emitted emitters and assign them to the free emitter list. | |||||||
void | initialiseEmittedEmitterPool (void) | ||||||
Determine which emitters in the Particle Systems main emitter become a template for creating an pool of emitters that can be emitted. | |||||||
void | addFreeEmittedEmitters (void) | ||||||
Add emitters from the pool to the free emitted emitter queue. | |||||||
void | removeAllEmittedEmitters (void) | ||||||
Removes all emitted emitters from this system. | |||||||
FreeEmittedEmitterList * | findFreeEmittedEmitter (const String &name) | ||||||
Find the list with free emitted emitters. | |||||||
void | removeFromActiveEmittedEmitters (ParticleEmitter *emitter) | ||||||
Removes an emitter from the active emitted emitter list. | |||||||
void | addActiveEmittedEmittersToFreeList (void) | ||||||
Moves all emitted emitters from the active list to the free list. | |||||||
void | _notifyReorganiseEmittedEmitterData (void) | ||||||
This function clears all data structures that are used in combination with emitted emitters and sets the flag to indicate that the emitted emitter pool must be initialised again. | |||||||
bool | createParamDictionary (const String &className) | ||||||
Internal method for creating a parameter dictionary for the class, if it does not already exist. | |||||||
Real | getExtrusionDistance (const Vector3 &objectPos, const Light *light) const | ||||||
Helper method for calculating extrusion distance. | |||||||
virtual void | updateEdgeListLightFacing (EdgeData *edgeData, const Vector4 &lightPos) | ||||||
Tells the caster to perform the tasks necessary to update the edge data's light listing. | |||||||
virtual void | generateShadowVolume (EdgeData *edgeData, const HardwareIndexBufferSharedPtr &indexBuffer, const Light *light, ShadowRenderableList &shadowRenderables, unsigned long flags) | ||||||
Generates the indexes required to render a shadow volume into the index buffer which is passed in, and updates shadow renderables to use it. | |||||||
virtual void | extrudeBounds (AxisAlignedBox &box, const Vector4 &lightPos, Real extrudeDist) const | ||||||
Utility method for extruding a bounding box. | |||||||
virtual const String & | getAnimableDictionaryName (void) const | ||||||
Get the name of the animable dictionary for this class. | |||||||
void | createAnimableDictionary (void) const | ||||||
Internal method for creating a dictionary of animable value names for the class, if it does not already exist. | |||||||
StringVector & | _getAnimableValueNames (void) | ||||||
Get an updateable reference to animable value list. | |||||||
virtual void | initialiseAnimableDictionary (StringVector &) const | ||||||
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters. | |||||||
Protected Attributes | |||||||
AxisAlignedBox | mAABB | ||||||
Real | mBoundingRadius | ||||||
bool | mBoundsAutoUpdate | ||||||
Real | mBoundsUpdateTime | ||||||
Real | mUpdateRemainTime | ||||||
AxisAlignedBox | mWorldAABB | ||||||
World AABB, only used to compare world-space positions to calc bounds. | |||||||
String | mResourceGroupName | ||||||
Name of the resource group to use to load materials. | |||||||
String | mMaterialName | ||||||
Name of the material to use. | |||||||
bool | mIsRendererConfigured | ||||||
Have we set the material etc on the renderer? | |||||||
MaterialPtr | mpMaterial | ||||||
Pointer to the material to use. | |||||||
Real | mDefaultWidth | ||||||
Default width of each particle. | |||||||
Real | mDefaultHeight | ||||||
Default height of each particle. | |||||||
Real | mSpeedFactor | ||||||
Speed factor. | |||||||
Real | mIterationInterval | ||||||
Iteration interval. | |||||||
bool | mIterationIntervalSet | ||||||
Iteration interval set? Otherwise track default. | |||||||
bool | mSorted | ||||||
Particles sorted according to camera? | |||||||
bool | mLocalSpace | ||||||
Particles in local space? | |||||||
Real | mNonvisibleTimeout | ||||||
Update timeout when nonvisible (0 for no timeout). | |||||||
bool | mNonvisibleTimeoutSet | ||||||
Update timeout when nonvisible set? Otherwise track default. | |||||||
Real | mTimeSinceLastVisible | ||||||
Amount of time non-visible so far. | |||||||
unsigned long | mLastVisibleFrame | ||||||
Last frame in which known to be visible. | |||||||
Controller< Real > * | mTimeController | ||||||
Controller for time update. | |||||||
bool | mEmittedEmitterPoolInitialised | ||||||
Indication whether the emitted emitter pool (= pool with particle emitters that are emitted) is initialised. | |||||||
ActiveParticleList | mActiveParticles | ||||||
Active particle list. | |||||||
FreeParticleList | mFreeParticles | ||||||
Free particle queue. | |||||||
ParticlePool | mParticlePool | ||||||
Pool of particle instances for use and reuse in the active particle list. | |||||||
EmittedEmitterPool | mEmittedEmitterPool | ||||||
Pool of emitted emitters for use and reuse in the active emitted emitter list. | |||||||
FreeEmittedEmitterMap | mFreeEmittedEmitters | ||||||
Free emitted emitter list. | |||||||
ActiveEmittedEmitterList | mActiveEmittedEmitters | ||||||
Active emitted emitter list. | |||||||
ParticleEmitterList | mEmitters | ||||||
List of particle emitters, ie sources of particles. | |||||||
ParticleAffectorList | mAffectors | ||||||
List of particle affectors, ie modifiers of particles. | |||||||
ParticleSystemRenderer * | mRenderer | ||||||
The renderer used to render this particle system. | |||||||
bool | mCullIndividual | ||||||
Do we cull each particle individually? | |||||||
String | mRendererType | ||||||
The name of the type of renderer used to render this system. | |||||||
size_t | mPoolSize | ||||||
The number of particles in the pool. | |||||||
size_t | mEmittedEmitterPoolSize | ||||||
The number of emitted emitters in the pool. | |||||||
String | mOrigin | ||||||
Optional origin of this particle system (eg script name). | |||||||
String | mName | ||||||
Name of this object. | |||||||
MovableObjectFactory * | mCreator | ||||||
Creator of this object (if created by a factory). | |||||||
SceneManager * | mManager | ||||||
SceneManager holding this object (if applicable). | |||||||
Node * | mParentNode | ||||||
node to which this object is attached | |||||||
bool | mParentIsTagPoint | ||||||
bool | mVisible | ||||||
Is this object visible? | |||||||
bool | mDebugDisplay | ||||||
Is debug display enabled? | |||||||
Real | mUpperDistance | ||||||
Upper distance to still render. | |||||||
Real | mSquaredUpperDistance | ||||||
bool | mBeyondFarDistance | ||||||
Hidden because of distance? | |||||||
Any | mUserAny | ||||||
User defined link to another object / value / whatever. | |||||||
uint8 | mRenderQueueID | ||||||
The render queue to use when rendering this object. | |||||||
bool | mRenderQueueIDSet | ||||||
Flags whether the RenderQueue's default should be used. | |||||||
uint32 | mQueryFlags | ||||||
Flags determining whether this object is included / excluded from scene queries. | |||||||
uint32 | mVisibilityFlags | ||||||
Flags determining whether this object is visible (compared to SceneManager mask). | |||||||
Sphere | mWorldBoundingSphere | ||||||
AxisAlignedBox | mWorldDarkCapBounds | ||||||
World space AABB of this object's dark cap. | |||||||
bool | mCastShadows | ||||||
Does this object cast shadows? | |||||||
bool | mRenderingDisabled | ||||||
Does rendering this object disabled by listener? | |||||||
Listener * | mListener | ||||||
MovableObject listener - only one allowed (no list) for size & performance reasons. */. | |||||||
LightList | mLightList | ||||||
List of lights for this object. | |||||||
ulong | mLightListUpdated | ||||||
The last frame that this light list was updated in. | |||||||
Static Protected Attributes | |||||||
static CmdCull | msCullCmd | ||||||
Command objects. | |||||||
static CmdHeight | msHeightCmd | ||||||
static CmdMaterial | msMaterialCmd | ||||||
static CmdQuota | msQuotaCmd | ||||||
static CmdEmittedEmitterQuota | msEmittedEmitterQuotaCmd | ||||||
static CmdWidth | msWidthCmd | ||||||
static CmdRenderer | msRendererCmd | ||||||
static CmdSorted | msSortedCmd | ||||||
static CmdLocalSpace | msLocalSpaceCmd | ||||||
static CmdIterationInterval | msIterationIntervalCmd | ||||||
static CmdNonvisibleTimeout | msNonvisibleTimeoutCmd | ||||||
static RadixSort < ActiveParticleList, Particle *, float > | mRadixSorter | ||||||
static Real | msDefaultIterationInterval | ||||||
Default iteration interval. | |||||||
static Real | msDefaultNonvisibleTimeout | ||||||
Default nonvisible update timeout. | |||||||
static uint32 | msDefaultQueryFlags | ||||||
Default query flags. | |||||||
static uint32 | msDefaultVisibilityFlags | ||||||
Default visibility flags. | |||||||
static AnimableDictionaryMap | msAnimableDictionary | ||||||
Static map of class name to list of animable value names. | |||||||
Classes | |||||||
class | CmdCull | ||||||
Command object for cull_each (see ParamCommand). More... | |||||||
class | CmdEmittedEmitterQuota | ||||||
Command object for emittedEmitterQuota (see ParamCommand). More... | |||||||
class | CmdHeight | ||||||
Command object for particle_height (see ParamCommand). More... | |||||||
class | CmdIterationInterval | ||||||
Command object for iteration interval(see ParamCommand). More... | |||||||
class | CmdLocalSpace | ||||||
Command object for local space (see ParamCommand). More... | |||||||
class | CmdMaterial | ||||||
Command object for material (see ParamCommand). More... | |||||||
class | CmdNonvisibleTimeout | ||||||
Command object for nonvisible timeout (see ParamCommand). More... | |||||||
class | CmdQuota | ||||||
Command object for quota (see ParamCommand). More... | |||||||
class | CmdRenderer | ||||||
Command object for renderer (see ParamCommand). More... | |||||||
class | CmdSorted | ||||||
Command object for sorting (see ParamCommand). More... | |||||||
class | CmdWidth | ||||||
Command object for particle_width (see ParamCommand). More... | |||||||
struct | SortByDirectionFunctor | ||||||
Sort by direction functor. More... | |||||||
struct | SortByDistanceFunctor | ||||||
Sort by distance functor. More... |
Definition at line 60 of file OgreParticleSystem.h.
typedef std::list<Particle*> Ogre::ParticleSystem::ActiveParticleList [protected] |
Definition at line 677 of file OgreParticleSystem.h.
typedef std::list<Particle*> Ogre::ParticleSystem::FreeParticleList [protected] |
Definition at line 678 of file OgreParticleSystem.h.
typedef std::vector<Particle*> Ogre::ParticleSystem::ParticlePool [protected] |
Definition at line 679 of file OgreParticleSystem.h.
typedef std::list<ParticleEmitter*> Ogre::ParticleSystem::FreeEmittedEmitterList [protected] |
Definition at line 731 of file OgreParticleSystem.h.
typedef std::list<ParticleEmitter*> Ogre::ParticleSystem::ActiveEmittedEmitterList [protected] |
Definition at line 732 of file OgreParticleSystem.h.
typedef std::vector<ParticleEmitter*> Ogre::ParticleSystem::EmittedEmitterList [protected] |
Definition at line 733 of file OgreParticleSystem.h.
typedef std::map<String, FreeEmittedEmitterList> Ogre::ParticleSystem::FreeEmittedEmitterMap [protected] |
Definition at line 734 of file OgreParticleSystem.h.
typedef std::map<String, EmittedEmitterList> Ogre::ParticleSystem::EmittedEmitterPool [protected] |
Definition at line 735 of file OgreParticleSystem.h.
typedef std::vector<ParticleEmitter*> Ogre::ParticleSystem::ParticleEmitterList [protected] |
Definition at line 760 of file OgreParticleSystem.h.
typedef std::vector<ParticleAffector*> Ogre::ParticleSystem::ParticleAffectorList [protected] |
Definition at line 761 of file OgreParticleSystem.h.
typedef std::vector<ShadowRenderable*> Ogre::ShadowCaster::ShadowRenderableList [inherited] |
Definition at line 123 of file OgreShadowCaster.h.
typedef VectorIterator<ShadowRenderableList> Ogre::ShadowCaster::ShadowRenderableListIterator [inherited] |
Definition at line 124 of file OgreShadowCaster.h.
typedef std::map<String, StringVector> Ogre::AnimableObject::AnimableDictionaryMap [protected, inherited] |
Definition at line 234 of file OgreAnimable.h.
Ogre::ParticleSystem::ParticleSystem | ( | ) |
Default constructor required for STL creation in manager.
Creates a particle system with no emitters or affectors.
virtual Ogre::ParticleSystem::~ParticleSystem | ( | ) | [virtual] |
void Ogre::ParticleSystem::setRenderer | ( | const String & | typeName | ) |
Sets the ParticleRenderer to be used to render this particle system.
typeName | String identifying the type of renderer to use; a new instance of this type will be created; a factory must have been registered with ParticleSystemManager. |
ParticleSystemRenderer* Ogre::ParticleSystem::getRenderer | ( | void | ) | const |
Gets the ParticleRenderer to be used to render this particle system.
const String& Ogre::ParticleSystem::getRendererName | ( | void | ) | const |
Gets the name of the ParticleRenderer to be used to render this particle system.
ParticleEmitter* Ogre::ParticleSystem::addEmitter | ( | const String & | emitterType | ) |
Adds an emitter to this particle system.
emitterType | String identifying the emitter type to create. Emitter types are defined by registering new factories with the manager - see ParticleEmitterFactory for more details. Emitter types can be extended by OGRE, plugin authors or application developers. |
ParticleEmitter* Ogre::ParticleSystem::getEmitter | ( | unsigned short | index | ) | const |
Retrieves an emitter by it's index (zero-based).
index | Zero-based index of the emitter to retrieve. |
unsigned short Ogre::ParticleSystem::getNumEmitters | ( | void | ) | const |
Returns the number of emitters for this particle system.
void Ogre::ParticleSystem::removeEmitter | ( | unsigned short | index | ) |
Removes an emitter from the system.
index | Zero-based index of the emitter to retrieve. |
void Ogre::ParticleSystem::removeAllEmitters | ( | void | ) |
Removes all the emitters from this system.
ParticleAffector* Ogre::ParticleSystem::addAffector | ( | const String & | affectorType | ) |
Adds an affector to this particle system.
affectorType | String identifying the affector type to create. Affector types are defined by registering new factories with the manager - see ParticleAffectorFactory for more details. Affector types can be extended by OGRE, plugin authors or application developers. |
ParticleAffector* Ogre::ParticleSystem::getAffector | ( | unsigned short | index | ) | const |
Retrieves an affector by it's index (zero-based).
index | Zero-based index of the affector to retrieve. |
unsigned short Ogre::ParticleSystem::getNumAffectors | ( | void | ) | const |
Returns the number of affectors for this particle system.
void Ogre::ParticleSystem::removeAffector | ( | unsigned short | index | ) |
Removes an affector from the system.
index | Zero-based index of the affector to retrieve. |
void Ogre::ParticleSystem::removeAllAffectors | ( | void | ) |
Removes all the affectors from this system.
void Ogre::ParticleSystem::clear | ( | ) |
Empties this set of all particles.
size_t Ogre::ParticleSystem::getNumParticles | ( | void | ) | const |
Gets the number of individual particles in the system right now.
Particle* Ogre::ParticleSystem::createParticle | ( | void | ) |
Manually add a particle to the system.
Manually add an emitter particle to the system.
emitterName | The name of a particle emitter that must be emitted. |
Particle* Ogre::ParticleSystem::getParticle | ( | size_t | index | ) |
Retrieve a particle from the system for manual tweaking.
size_t Ogre::ParticleSystem::getParticleQuota | ( | void | ) | const |
Returns the maximum number of particles this system is allowed to have active at once.
void Ogre::ParticleSystem::setParticleQuota | ( | size_t | quota | ) |
Sets the maximum number of particles this system is allowed to have active at once.
quota | The maximum number of particles this system is allowed to have. |
size_t Ogre::ParticleSystem::getEmittedEmitterQuota | ( | void | ) | const |
Returns the maximum number of emitted emitters this system is allowed to have active at once.
void Ogre::ParticleSystem::setEmittedEmitterQuota | ( | size_t | quota | ) |
Sets the maximum number of emitted emitters this system is allowed to have active at once.
quota | The maximum number of emitted emitters this system is allowed to have. |
ParticleSystem& Ogre::ParticleSystem::operator= | ( | const ParticleSystem & | rhs | ) |
Assignment operator for copying.
void Ogre::ParticleSystem::_update | ( | Real | timeElapsed | ) |
Updates the particles in the system based on time elapsed.
timeElapsed | The amount of time, in seconds, since the last frame. |
ParticleIterator Ogre::ParticleSystem::_getIterator | ( | void | ) |
Returns an iterator for stepping through all particles in this system.
virtual void Ogre::ParticleSystem::setMaterialName | ( | const String & | name | ) | [virtual] |
Sets the name of the material to be used for this billboard set.
name | The new name of the material to use for this set. |
virtual const String& Ogre::ParticleSystem::getMaterialName | ( | void | ) | const [virtual] |
Sets the name of the material to be used for this billboard set.
virtual void Ogre::ParticleSystem::_notifyCurrentCamera | ( | Camera * | cam | ) | [virtual] |
void Ogre::ParticleSystem::_notifyAttached | ( | Node * | parent, | |
bool | isTagPoint = false | |||
) | [virtual] |
virtual const AxisAlignedBox& Ogre::ParticleSystem::getBoundingBox | ( | void | ) | const [virtual] |
Overridden from MovableObject.
Implements Ogre::MovableObject.
Definition at line 372 of file OgreParticleSystem.h.
virtual Real Ogre::ParticleSystem::getBoundingRadius | ( | void | ) | const [virtual] |
Overridden from MovableObject.
Implements Ogre::MovableObject.
Definition at line 378 of file OgreParticleSystem.h.
virtual void Ogre::ParticleSystem::_updateRenderQueue | ( | RenderQueue * | queue | ) | [virtual] |
void Ogre::ParticleSystem::visitRenderables | ( | Renderable::Visitor * | visitor, | |
bool | debugRenderables = false | |||
) | [virtual] |
Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject will add to the render queue when asked, if any.
visitor | Pointer to a class implementing the Renderable::Visitor interface which will be called back for each Renderable which will be queued. Bear in mind that the state of the Renderable instances may not be finalised depending on when you call this. | |
debugRenderables | If false, only regular renderables will be visited (those for normal display). If true, debug renderables will be included too. |
Implements Ogre::MovableObject.
Fast-forwards this system by the required number of seconds.
time | The number of seconds to fast-forward by. | |
interval | The sampling interval used to generate particles, apply affectors etc. The lower this is the more realistic the fast-forward, but it takes more iterations to do it. |
void Ogre::ParticleSystem::setSpeedFactor | ( | Real | speedFactor | ) |
Sets a 'speed factor' on this particle system, which means it scales the elapsed real time which has passed by this factor before passing it to the emitters, affectors, and the particle life calculation.
Definition at line 412 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::getSpeedFactor | ( | void | ) | const |
Gets the 'speed factor' on this particle system.
Definition at line 416 of file OgreParticleSystem.h.
void Ogre::ParticleSystem::setIterationInterval | ( | Real | iterationInterval | ) |
Sets a 'iteration interval' on this particle system.
iterationInterval | The iteration interval, default to zero. |
Real Ogre::ParticleSystem::getIterationInterval | ( | void | ) | const |
Gets a 'iteration interval' on this particle system.
Definition at line 437 of file OgreParticleSystem.h.
static void Ogre::ParticleSystem::setDefaultIterationInterval | ( | Real | iterationInterval | ) | [static] |
Set the default iteration interval for all ParticleSystem instances.
Definition at line 441 of file OgreParticleSystem.h.
static Real Ogre::ParticleSystem::getDefaultIterationInterval | ( | void | ) | [static] |
Get the default iteration interval for all ParticleSystem instances.
Definition at line 445 of file OgreParticleSystem.h.
void Ogre::ParticleSystem::setNonVisibleUpdateTimeout | ( | Real | timeout | ) |
Sets when the particle system should stop updating after it hasn't been visible for a while.
timeout | The time after which the particle system will be disabled if it is no longer visible. 0 to disable the timeout and always update. |
Real Ogre::ParticleSystem::getNonVisibleUpdateTimeout | ( | void | ) | const |
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition at line 465 of file OgreParticleSystem.h.
static void Ogre::ParticleSystem::setDefaultNonVisibleUpdateTimeout | ( | Real | timeout | ) | [static] |
Set the default nonvisible timeout for all ParticleSystem instances.
Definition at line 469 of file OgreParticleSystem.h.
static Real Ogre::ParticleSystem::getDefaultNonVisibleUpdateTimeout | ( | void | ) | [static] |
Get the default nonvisible timeout for all ParticleSystem instances.
Definition at line 474 of file OgreParticleSystem.h.
const String& Ogre::ParticleSystem::getMovableType | ( | void | ) | const [virtual] |
virtual void Ogre::ParticleSystem::_notifyParticleResized | ( | void | ) | [virtual] |
Internal callback used by Particles to notify their parent that they have been resized.
virtual void Ogre::ParticleSystem::_notifyParticleRotated | ( | void | ) | [virtual] |
Internal callback used by Particles to notify their parent that they have been rotated.
Sets the default dimensions of the particles in this set.
width | The new default width for the particles in this set. | |
height | The new default height for the particles in this set. |
virtual void Ogre::ParticleSystem::setDefaultWidth | ( | Real | width | ) | [virtual] |
See setDefaultDimensions - this sets 1 component individually.
virtual Real Ogre::ParticleSystem::getDefaultWidth | ( | void | ) | const [virtual] |
See setDefaultDimensions - this gets 1 component individually.
virtual void Ogre::ParticleSystem::setDefaultHeight | ( | Real | height | ) | [virtual] |
See setDefaultDimensions - this sets 1 component individually.
virtual Real Ogre::ParticleSystem::getDefaultHeight | ( | void | ) | const [virtual] |
See setDefaultDimensions - this gets 1 component individually.
virtual bool Ogre::ParticleSystem::getCullIndividually | ( | void | ) | const [virtual] |
Returns whether or not particles in this are tested individually for culling.
virtual void Ogre::ParticleSystem::setCullIndividually | ( | bool | cullIndividual | ) | [virtual] |
Sets whether culling tests particles in this individually as well as in a group.
cullIndividual | If true, each particle is tested before being sent to the pipeline as well as the whole set having to pass the coarse group bounding test. |
virtual const String& Ogre::ParticleSystem::getResourceGroupName | ( | void | ) | const [virtual] |
Return the resource group to be used to load dependent resources.
Definition at line 531 of file OgreParticleSystem.h.
const String& Ogre::ParticleSystem::getOrigin | ( | void | ) | const |
Get the origin of this particle system, e.g.
a script file name.
Definition at line 538 of file OgreParticleSystem.h.
void Ogre::ParticleSystem::_notifyOrigin | ( | const String & | origin | ) |
void Ogre::ParticleSystem::setRenderQueueGroup | ( | uint8 | queueID | ) | [virtual] |
Sets the render queue group this entity will be rendered through.
queueID | Enumerated value of the queue group to use. |
Reimplemented from Ogre::MovableObject.
void Ogre::ParticleSystem::setSortingEnabled | ( | bool | enabled | ) |
Set whether or not particles are sorted according to the camera.
Definition at line 551 of file OgreParticleSystem.h.
bool Ogre::ParticleSystem::getSortingEnabled | ( | void | ) | const |
Gets whether particles are sorted relative to the camera.
Definition at line 553 of file OgreParticleSystem.h.
void Ogre::ParticleSystem::setBounds | ( | const AxisAlignedBox & | aabb | ) |
Set the (initial) bounds of the particle system manually.
aabb | Bounds in local space. |
void Ogre::ParticleSystem::setBoundsAutoUpdated | ( | bool | autoUpdate, | |
Real | stopIn = 0.0f | |||
) |
Sets whether the bounds will be automatically updated for the life of the particle system.
autoUpdate | If true (the default), the particle system will update it's bounds every frame. If false, the bounds update will cease after the 'stopIn' number of seconds have passed. | |
stopIn | Only applicable if the first parameter is true, this is the number of seconds after which the automatic update will cease. |
void Ogre::ParticleSystem::setKeepParticlesInLocalSpace | ( | bool | keepLocal | ) |
Sets whether particles (and any affector effects) remain relative to the node the particle system is attached to.
bool Ogre::ParticleSystem::getKeepParticlesInLocalSpace | ( | void | ) | const |
Gets whether particles (and any affector effects) remain relative to the node the particle system is attached to.
Definition at line 598 of file OgreParticleSystem.h.
void Ogre::ParticleSystem::_updateBounds | ( | void | ) |
Internal method for updating the bounds of the particle system.
uint32 Ogre::ParticleSystem::getTypeFlags | ( | void | ) | const [virtual] |
void Ogre::ParticleSystem::_expire | ( | Real | timeElapsed | ) | [protected] |
Internal method used to expire dead particles.
void Ogre::ParticleSystem::_triggerEmitters | ( | Real | timeElapsed | ) | [protected] |
Spawn new particles based on free quota and emitter requirements.
void Ogre::ParticleSystem::_executeTriggerEmitters | ( | ParticleEmitter * | emitter, | |
unsigned | requested, | |||
Real | timeElapsed | |||
) | [protected] |
Helper function that actually performs the emission of particles.
void Ogre::ParticleSystem::_applyMotion | ( | Real | timeElapsed | ) | [protected] |
Updates existing particle based on their momentum.
void Ogre::ParticleSystem::_triggerAffectors | ( | Real | timeElapsed | ) | [protected] |
Applies the effects of affectors.
void Ogre::ParticleSystem::_sortParticles | ( | Camera * | cam | ) | [protected] |
Sort the particles in the system.
void Ogre::ParticleSystem::increasePool | ( | size_t | size | ) | [protected] |
Resize the internal pool of particles.
void Ogre::ParticleSystem::increaseEmittedEmitterPool | ( | size_t | size | ) | [protected] |
Resize the internal pool of emitted emitters.
void Ogre::ParticleSystem::initParameters | ( | void | ) | [protected] |
Internal method for initialising string interface.
void Ogre::ParticleSystem::configureRenderer | ( | void | ) | [protected] |
Internal method to configure the renderer.
void Ogre::ParticleSystem::createVisualParticles | ( | size_t | poolstart, | |
size_t | poolend | |||
) | [protected] |
Internal method for creating ParticleVisualData instances for the pool.
void Ogre::ParticleSystem::destroyVisualParticles | ( | size_t | poolstart, | |
size_t | poolend | |||
) | [protected] |
Internal method for destroying ParticleVisualData instances for the pool.
void Ogre::ParticleSystem::initialiseEmittedEmitters | ( | void | ) | [protected] |
Create a pool of emitted emitters and assign them to the free emitter list.
void Ogre::ParticleSystem::initialiseEmittedEmitterPool | ( | void | ) | [protected] |
Determine which emitters in the Particle Systems main emitter become a template for creating an pool of emitters that can be emitted.
void Ogre::ParticleSystem::addFreeEmittedEmitters | ( | void | ) | [protected] |
Add emitters from the pool to the free emitted emitter queue.
void Ogre::ParticleSystem::removeAllEmittedEmitters | ( | void | ) | [protected] |
Removes all emitted emitters from this system.
FreeEmittedEmitterList* Ogre::ParticleSystem::findFreeEmittedEmitter | ( | const String & | name | ) | [protected] |
Find the list with free emitted emitters.
name | The name that identifies the list with free emitted emitters. |
void Ogre::ParticleSystem::removeFromActiveEmittedEmitters | ( | ParticleEmitter * | emitter | ) | [protected] |
Removes an emitter from the active emitted emitter list.
emitter | Pointer to a particle emitter. |
void Ogre::ParticleSystem::addActiveEmittedEmittersToFreeList | ( | void | ) | [protected] |
Moves all emitted emitters from the active list to the free list.
void Ogre::ParticleSystem::_notifyReorganiseEmittedEmitterData | ( | void | ) | [protected] |
This function clears all data structures that are used in combination with emitted emitters and sets the flag to indicate that the emitted emitter pool must be initialised again.
bool Ogre::StringInterface::createParamDictionary | ( | const String & | className | ) | [protected, inherited] |
Internal method for creating a parameter dictionary for the class, if it does not already exist.
className | the name of the class using the dictionary |
Definition at line 179 of file OgreStringInterface.h.
References OGRE_LOCK_MUTEX.
ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | [inherited] |
Retrieves the parameter dictionary for this class.
Definition at line 212 of file OgreStringInterface.h.
const ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | const [inherited] |
Definition at line 217 of file OgreStringInterface.h.
const ParameterList& Ogre::StringInterface::getParameters | ( | void | ) | const [inherited] |
Retrieves a list of parameters valid for this object.
virtual bool Ogre::StringInterface::setParameter | ( | const String & | name, | |
const String & | value | |||
) | [virtual, inherited] |
Generic parameter setting method.
name | The name of the parameter to set | |
value | String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information. |
Referenced by Ogre::StringInterface::copyParametersTo().
virtual void Ogre::StringInterface::setParameterList | ( | const NameValuePairList & | paramList | ) | [virtual, inherited] |
Generic multiple parameter setting method.
paramList | Name/value pair list |
virtual String Ogre::StringInterface::getParameter | ( | const String & | name | ) | const [virtual, inherited] |
Generic parameter retrieval method.
name | The name of the parameter to get |
Definition at line 265 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
virtual void Ogre::StringInterface::copyParametersTo | ( | StringInterface * | dest | ) | const [virtual, inherited] |
Method for copying this object's parameters to another object.
dest | Pointer to object to have it's parameters set the same as this object. |
Definition at line 296 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
static void Ogre::StringInterface::cleanupDictionary | ( | ) | [static, inherited] |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g.
MaterialManager) initializes.
virtual void Ogre::MovableObject::_notifyCreator | ( | MovableObjectFactory * | fact | ) | [virtual, inherited] |
Notify the object of it's creator (internal use only).
Definition at line 169 of file OgreMovableObject.h.
virtual MovableObjectFactory* Ogre::MovableObject::_getCreator | ( | void | ) | const [virtual, inherited] |
Get the creator of this object, if any (internal use only).
Definition at line 171 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::_notifyManager | ( | SceneManager * | man | ) | [virtual, inherited] |
Notify the object of it's manager (internal use only).
Definition at line 173 of file OgreMovableObject.h.
virtual SceneManager* Ogre::MovableObject::_getManager | ( | void | ) | const [virtual, inherited] |
Get the manager of this object, if any (internal use only).
Definition at line 175 of file OgreMovableObject.h.
virtual const String& Ogre::MovableObject::getName | ( | void | ) | const [virtual, inherited] |
Returns the name of this object.
Reimplemented in Ogre::Camera.
Definition at line 178 of file OgreMovableObject.h.
virtual Node* Ogre::MovableObject::getParentNode | ( | void | ) | const [virtual, inherited] |
Returns the node to which this object is attached.
virtual SceneNode* Ogre::MovableObject::getParentSceneNode | ( | void | ) | const [virtual, inherited] |
Returns the scene node to which this object is attached.
virtual bool Ogre::MovableObject::isAttached | ( | void | ) | const [virtual, inherited] |
virtual void Ogre::MovableObject::detatchFromParent | ( | void | ) | [virtual, inherited] |
virtual bool Ogre::MovableObject::isInScene | ( | void | ) | const [virtual, inherited] |
virtual void Ogre::MovableObject::_notifyMoved | ( | void | ) | [virtual, inherited] |
virtual const AxisAlignedBox& Ogre::MovableObject::getWorldBoundingBox | ( | bool | derive = false |
) | const [virtual, inherited] |
Retrieves the axis-aligned bounding box for this object in world coordinates.
Implements Ogre::ShadowCaster.
Reimplemented in Ogre::Entity.
virtual const Sphere& Ogre::MovableObject::getWorldBoundingSphere | ( | bool | derive = false |
) | const [virtual, inherited] |
virtual void Ogre::MovableObject::setVisible | ( | bool | visible | ) | [virtual, inherited] |
Tells this object whether to be visible or not, if it has a renderable component.
Reimplemented in Ogre::Light.
virtual bool Ogre::MovableObject::getVisible | ( | void | ) | const [virtual, inherited] |
Gets this object whether to be visible or not, if it has a renderable component.
virtual bool Ogre::MovableObject::isVisible | ( | void | ) | const [virtual, inherited] |
Returns whether or not this object is supposed to be visible or not.
Reimplemented in Ogre::InstancedGeometry::BatchInstance, and Ogre::StaticGeometry::Region.
virtual void Ogre::MovableObject::setRenderingDistance | ( | Real | dist | ) | [virtual, inherited] |
Sets the distance at which the object is no longer rendered.
dist | Distance beyond which the object will not be rendered (the default is 0, which means objects are always rendered). |
Definition at line 280 of file OgreMovableObject.h.
virtual Real Ogre::MovableObject::getRenderingDistance | ( | void | ) | const [virtual, inherited] |
Gets the distance at which batches are no longer rendered.
Definition at line 286 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::setUserObject | ( | UserDefinedObject * | obj | ) | [virtual, inherited] |
Call this to associate your own custom user object instance with this MovableObject.
Definition at line 294 of file OgreMovableObject.h.
virtual UserDefinedObject* Ogre::MovableObject::getUserObject | ( | void | ) | [virtual, inherited] |
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
Definition at line 298 of file OgreMovableObject.h.
References Ogre::any_cast().
virtual void Ogre::MovableObject::setUserAny | ( | const Any & | anything | ) | [virtual, inherited] |
Sets any kind of user value on this object.
Definition at line 310 of file OgreMovableObject.h.
virtual const Any& Ogre::MovableObject::getUserAny | ( | void | ) | const [virtual, inherited] |
Retrieves the custom user value associated with this object.
Definition at line 314 of file OgreMovableObject.h.
virtual uint8 Ogre::MovableObject::getRenderQueueGroup | ( | void | ) | const [virtual, inherited] |
Gets the queue group for this entity, see setRenderQueueGroup for full details.
virtual const Matrix4& Ogre::MovableObject::_getParentNodeFullTransform | ( | void | ) | const [virtual, inherited] |
return the full transformation of the parent sceneNode or the attachingPoint node
virtual void Ogre::MovableObject::setQueryFlags | ( | uint32 | flags | ) | [virtual, inherited] |
Sets the query flags for this object.
Definition at line 342 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::addQueryFlags | ( | uint32 | flags | ) | [virtual, inherited] |
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 346 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::removeQueryFlags | ( | unsigned long | flags | ) | [virtual, inherited] |
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 350 of file OgreMovableObject.h.
virtual uint32 Ogre::MovableObject::getQueryFlags | ( | void | ) | const [virtual, inherited] |
Returns the query flags relevant for this object.
Definition at line 353 of file OgreMovableObject.h.
static void Ogre::MovableObject::setDefaultQueryFlags | ( | uint32 | flags | ) | [static, inherited] |
Set the default query flags for all future MovableObject instances.
Definition at line 357 of file OgreMovableObject.h.
static uint32 Ogre::MovableObject::getDefaultQueryFlags | ( | ) | [static, inherited] |
Get the default query flags for all future MovableObject instances.
Definition at line 361 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::setVisibilityFlags | ( | uint32 | flags | ) | [virtual, inherited] |
Sets the visiblity flags for this object.
Definition at line 370 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::addVisibilityFlags | ( | uint32 | flags | ) | [virtual, inherited] |
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 374 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::removeVisibilityFlags | ( | uint32 | flags | ) | [virtual, inherited] |
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 378 of file OgreMovableObject.h.
virtual uint32 Ogre::MovableObject::getVisibilityFlags | ( | void | ) | const [virtual, inherited] |
Returns the visibility flags relevant for this object.
Definition at line 381 of file OgreMovableObject.h.
static void Ogre::MovableObject::setDefaultVisibilityFlags | ( | uint32 | flags | ) | [static, inherited] |
Set the default visibility flags for all future MovableObject instances.
Definition at line 385 of file OgreMovableObject.h.
static uint32 Ogre::MovableObject::getDefaultVisibilityFlags | ( | ) | [static, inherited] |
Get the default visibility flags for all future MovableObject instances.
Definition at line 389 of file OgreMovableObject.h.
virtual void Ogre::MovableObject::setListener | ( | Listener * | listener | ) | [virtual, inherited] |
Sets a listener for this object.
Definition at line 396 of file OgreMovableObject.h.
virtual Listener* Ogre::MovableObject::getListener | ( | void | ) | const [virtual, inherited] |
virtual const LightList& Ogre::MovableObject::queryLights | ( | void | ) | const [virtual, inherited] |
Gets a list of lights, ordered relative to how close they are to this movable object.
virtual LightList* Ogre::MovableObject::_getLightList | ( | ) | [virtual, inherited] |
Returns a pointer to the current list of lights for this object.
Definition at line 428 of file OgreMovableObject.h.
EdgeData* Ogre::MovableObject::getEdgeList | ( | void | ) | [virtual, inherited] |
Define a default implementation of method from ShadowCaster which implements no shadows.
Implements Ogre::ShadowCaster.
Reimplemented in Ogre::Entity, Ogre::ManualObject, and Ogre::StaticGeometry::Region.
Definition at line 431 of file OgreMovableObject.h.
bool Ogre::MovableObject::hasEdgeList | ( | void | ) | [virtual, inherited] |
Define a default implementation of method from ShadowCaster which implements no shadows.
Implements Ogre::ShadowCaster.
Reimplemented in Ogre::Entity, Ogre::ManualObject, and Ogre::StaticGeometry::Region.
Definition at line 433 of file OgreMovableObject.h.
ShadowRenderableListIterator Ogre::MovableObject::getShadowVolumeRenderableIterator | ( | ShadowTechnique | shadowTechnique, | |
const Light * | light, | |||
HardwareIndexBufferSharedPtr * | indexBuffer, | |||
bool | extrudeVertices, | |||
Real | extrusionDist, | |||
unsigned long | flags = 0 | |||
) | [virtual, inherited] |
Define a default implementation of method from ShadowCaster which implements no shadows.
Implements Ogre::ShadowCaster.
Reimplemented in Ogre::Entity, Ogre::ManualObject, and Ogre::StaticGeometry::Region.
const AxisAlignedBox& Ogre::MovableObject::getLightCapBounds | ( | void | ) | const [virtual, inherited] |
const AxisAlignedBox& Ogre::MovableObject::getDarkCapBounds | ( | const Light & | light, | |
Real | dirLightExtrusionDist | |||
) | const [virtual, inherited] |
void Ogre::MovableObject::setCastShadows | ( | bool | enabled | ) | [inherited] |
Sets whether or not this object will cast shadows.
Definition at line 456 of file OgreMovableObject.h.
bool Ogre::MovableObject::getCastShadows | ( | void | ) | const [virtual, inherited] |
Returns whether shadow casting is enabled for this object.
Implements Ogre::ShadowCaster.
Definition at line 458 of file OgreMovableObject.h.
bool Ogre::MovableObject::getReceivesShadows | ( | ) | [inherited] |
Returns whether the Material of any Renderable that this MovableObject will add to the render queue will receive shadows.
virtual void Ogre::MovableObject::setDebugDisplayEnabled | ( | bool | enabled | ) | [virtual, inherited] |
Sets whether or not the debug display of this object is enabled.
Definition at line 500 of file OgreMovableObject.h.
virtual bool Ogre::MovableObject::isDebugDisplayEnabled | ( | void | ) | const [virtual, inherited] |
Gets whether debug display of this object is enabled.
Definition at line 502 of file OgreMovableObject.h.
static void Ogre::ShadowCaster::extrudeVertices | ( | const HardwareVertexBufferSharedPtr & | vertexBuffer, | |
size_t | originalVertexCount, | |||
const Vector4 & | lightPos, | |||
Real | extrudeDist | |||
) | [static, inherited] |
Utility method for extruding vertices based on a light.
vertexBuffer | The vertex buffer containing ONLY xyz position values, which must be originalVertexCount * 2 * 3 floats long. | |
originalVertexCount | The count of the original number of vertices, i.e. the number in the mesh, not counting the doubling which has already been done (by VertexData::prepareForShadowVolume) to provide the extruded area of the buffer. | |
lightPos | 4D light position in object space, when w=0.0f this represents a directional light | |
extrudeDist | The distance to extrude |
Real Ogre::ShadowCaster::getExtrusionDistance | ( | const Vector3 & | objectPos, | |
const Light * | light | |||
) | const [protected, inherited] |
Helper method for calculating extrusion distance.
virtual void Ogre::ShadowCaster::updateEdgeListLightFacing | ( | EdgeData * | edgeData, | |
const Vector4 & | lightPos | |||
) | [protected, virtual, inherited] |
Tells the caster to perform the tasks necessary to update the edge data's light listing.
Can be overridden if the subclass needs to do additional things.
edgeData | The edge information to update | |
lightPos | 4D vector representing the light, a directional light has w=0.0 |
virtual void Ogre::ShadowCaster::generateShadowVolume | ( | EdgeData * | edgeData, | |
const HardwareIndexBufferSharedPtr & | indexBuffer, | |||
const Light * | light, | |||
ShadowRenderableList & | shadowRenderables, | |||
unsigned long | flags | |||
) | [protected, virtual, inherited] |
Generates the indexes required to render a shadow volume into the index buffer which is passed in, and updates shadow renderables to use it.
edgeData | The edge information to use | |
indexBuffer | The buffer into which to write data into; current contents are assumed to be discardable. | |
light | The light, mainly for type info as silhouette calculations should already have been done in updateEdgeListLightFacing | |
shadowRenderables | A list of shadow renderables which has already been constructed but will need populating with details of the index ranges to be used. | |
flags | Additional controller flags, see ShadowRenderableFlags |
virtual void Ogre::ShadowCaster::extrudeBounds | ( | AxisAlignedBox & | box, | |
const Vector4 & | lightPos, | |||
Real | extrudeDist | |||
) | const [protected, virtual, inherited] |
Utility method for extruding a bounding box.
box | Original bounding box, will be updated in-place | |
lightPos | 4D light position in object space, when w=0.0f this represents a directional light | |
extrudeDist | The distance to extrude |
virtual const String& Ogre::AnimableObject::getAnimableDictionaryName | ( | void | ) | const [protected, virtual, inherited] |
Get the name of the animable dictionary for this class.
Reimplemented in Ogre::Light.
Definition at line 242 of file OgreAnimable.h.
References Ogre::StringUtil::BLANK.
void Ogre::AnimableObject::createAnimableDictionary | ( | void | ) | const [protected, inherited] |
Internal method for creating a dictionary of animable value names for the class, if it does not already exist.
Definition at line 247 of file OgreAnimable.h.
StringVector& Ogre::AnimableObject::_getAnimableValueNames | ( | void | ) | [protected, inherited] |
Get an updateable reference to animable value list.
Definition at line 260 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
virtual void Ogre::AnimableObject::initialiseAnimableDictionary | ( | StringVector & | ) | const [protected, virtual, inherited] |
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters.
Reimplemented in Ogre::Light.
Definition at line 280 of file OgreAnimable.h.
const StringVector& Ogre::AnimableObject::getAnimableValueNames | ( | void | ) | const [inherited] |
Gets a list of animable value names for this object.
Definition at line 288 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
virtual AnimableValuePtr Ogre::AnimableObject::createAnimableValue | ( | const String & | valueName | ) | [virtual, inherited] |
Create a reference-counted AnimableValuePtr for the named value.
Reimplemented in Ogre::Light.
Definition at line 313 of file OgreAnimable.h.
References Ogre::Exception::ERR_ITEM_NOT_FOUND, and OGRE_EXCEPT.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 84 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 89 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 106 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
CmdCull Ogre::ParticleSystem::msCullCmd [static, protected] |
CmdHeight Ogre::ParticleSystem::msHeightCmd [static, protected] |
Definition at line 621 of file OgreParticleSystem.h.
CmdMaterial Ogre::ParticleSystem::msMaterialCmd [static, protected] |
Definition at line 622 of file OgreParticleSystem.h.
CmdQuota Ogre::ParticleSystem::msQuotaCmd [static, protected] |
Definition at line 623 of file OgreParticleSystem.h.
CmdEmittedEmitterQuota Ogre::ParticleSystem::msEmittedEmitterQuotaCmd [static, protected] |
Definition at line 624 of file OgreParticleSystem.h.
CmdWidth Ogre::ParticleSystem::msWidthCmd [static, protected] |
Definition at line 625 of file OgreParticleSystem.h.
CmdRenderer Ogre::ParticleSystem::msRendererCmd [static, protected] |
Definition at line 626 of file OgreParticleSystem.h.
CmdSorted Ogre::ParticleSystem::msSortedCmd [static, protected] |
Definition at line 627 of file OgreParticleSystem.h.
CmdLocalSpace Ogre::ParticleSystem::msLocalSpaceCmd [static, protected] |
Definition at line 628 of file OgreParticleSystem.h.
CmdIterationInterval Ogre::ParticleSystem::msIterationIntervalCmd [static, protected] |
Definition at line 629 of file OgreParticleSystem.h.
CmdNonvisibleTimeout Ogre::ParticleSystem::msNonvisibleTimeoutCmd [static, protected] |
Definition at line 630 of file OgreParticleSystem.h.
AxisAlignedBox Ogre::ParticleSystem::mAABB [protected] |
Definition at line 633 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::mBoundingRadius [protected] |
Definition at line 634 of file OgreParticleSystem.h.
bool Ogre::ParticleSystem::mBoundsAutoUpdate [protected] |
Definition at line 635 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::mBoundsUpdateTime [protected] |
Definition at line 636 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::mUpdateRemainTime [protected] |
Definition at line 637 of file OgreParticleSystem.h.
AxisAlignedBox Ogre::ParticleSystem::mWorldAABB [protected] |
World AABB, only used to compare world-space positions to calc bounds.
Reimplemented from Ogre::MovableObject.
Definition at line 640 of file OgreParticleSystem.h.
String Ogre::ParticleSystem::mResourceGroupName [protected] |
Name of the resource group to use to load materials.
Definition at line 643 of file OgreParticleSystem.h.
String Ogre::ParticleSystem::mMaterialName [protected] |
bool Ogre::ParticleSystem::mIsRendererConfigured [protected] |
MaterialPtr Ogre::ParticleSystem::mpMaterial [protected] |
Real Ogre::ParticleSystem::mDefaultWidth [protected] |
Real Ogre::ParticleSystem::mDefaultHeight [protected] |
Real Ogre::ParticleSystem::mSpeedFactor [protected] |
Real Ogre::ParticleSystem::mIterationInterval [protected] |
bool Ogre::ParticleSystem::mIterationIntervalSet [protected] |
Iteration interval set? Otherwise track default.
Definition at line 659 of file OgreParticleSystem.h.
bool Ogre::ParticleSystem::mSorted [protected] |
bool Ogre::ParticleSystem::mLocalSpace [protected] |
Real Ogre::ParticleSystem::mNonvisibleTimeout [protected] |
Update timeout when nonvisible (0 for no timeout).
Definition at line 665 of file OgreParticleSystem.h.
bool Ogre::ParticleSystem::mNonvisibleTimeoutSet [protected] |
Update timeout when nonvisible set? Otherwise track default.
Definition at line 667 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::mTimeSinceLastVisible [protected] |
unsigned long Ogre::ParticleSystem::mLastVisibleFrame [protected] |
Controller<Real>* Ogre::ParticleSystem::mTimeController [protected] |
bool Ogre::ParticleSystem::mEmittedEmitterPoolInitialised [protected] |
Indication whether the emitted emitter pool (= pool with particle emitters that are emitted) is initialised.
Definition at line 675 of file OgreParticleSystem.h.
RadixSort<ActiveParticleList, Particle*, float> Ogre::ParticleSystem::mRadixSorter [static, protected] |
Definition at line 701 of file OgreParticleSystem.h.
Active particle list.
Definition at line 712 of file OgreParticleSystem.h.
FreeParticleList Ogre::ParticleSystem::mFreeParticles [protected] |
Free particle queue.
Definition at line 723 of file OgreParticleSystem.h.
ParticlePool Ogre::ParticleSystem::mParticlePool [protected] |
Pool of particle instances for use and reuse in the active particle list.
Definition at line 729 of file OgreParticleSystem.h.
Pool of emitted emitters for use and reuse in the active emitted emitter list.
Definition at line 745 of file OgreParticleSystem.h.
Free emitted emitter list.
Definition at line 751 of file OgreParticleSystem.h.
Active emitted emitter list.
Definition at line 758 of file OgreParticleSystem.h.
ParticleEmitterList Ogre::ParticleSystem::mEmitters [protected] |
List of particle emitters, ie sources of particles.
Definition at line 764 of file OgreParticleSystem.h.
ParticleAffectorList Ogre::ParticleSystem::mAffectors [protected] |
List of particle affectors, ie modifiers of particles.
Definition at line 766 of file OgreParticleSystem.h.
ParticleSystemRenderer* Ogre::ParticleSystem::mRenderer [protected] |
The renderer used to render this particle system.
Definition at line 769 of file OgreParticleSystem.h.
bool Ogre::ParticleSystem::mCullIndividual [protected] |
String Ogre::ParticleSystem::mRendererType [protected] |
The name of the type of renderer used to render this system.
Definition at line 775 of file OgreParticleSystem.h.
size_t Ogre::ParticleSystem::mPoolSize [protected] |
size_t Ogre::ParticleSystem::mEmittedEmitterPoolSize [protected] |
String Ogre::ParticleSystem::mOrigin [protected] |
Optional origin of this particle system (eg script name).
Definition at line 784 of file OgreParticleSystem.h.
Real Ogre::ParticleSystem::msDefaultIterationInterval [static, protected] |
Real Ogre::ParticleSystem::msDefaultNonvisibleTimeout [static, protected] |
String Ogre::MovableObject::mName [protected, inherited] |
Name of this object.
Reimplemented in Ogre::Camera.
Definition at line 104 of file OgreMovableObject.h.
MovableObjectFactory* Ogre::MovableObject::mCreator [protected, inherited] |
Creator of this object (if created by a factory).
Definition at line 106 of file OgreMovableObject.h.
SceneManager* Ogre::MovableObject::mManager [protected, inherited] |
SceneManager holding this object (if applicable).
Definition at line 108 of file OgreMovableObject.h.
Node* Ogre::MovableObject::mParentNode [protected, inherited] |
bool Ogre::MovableObject::mParentIsTagPoint [protected, inherited] |
Definition at line 111 of file OgreMovableObject.h.
bool Ogre::MovableObject::mVisible [protected, inherited] |
bool Ogre::MovableObject::mDebugDisplay [protected, inherited] |
Real Ogre::MovableObject::mUpperDistance [protected, inherited] |
Real Ogre::MovableObject::mSquaredUpperDistance [protected, inherited] |
Definition at line 118 of file OgreMovableObject.h.
bool Ogre::MovableObject::mBeyondFarDistance [protected, inherited] |
Any Ogre::MovableObject::mUserAny [protected, inherited] |
User defined link to another object / value / whatever.
Definition at line 122 of file OgreMovableObject.h.
uint8 Ogre::MovableObject::mRenderQueueID [protected, inherited] |
The render queue to use when rendering this object.
Definition at line 124 of file OgreMovableObject.h.
bool Ogre::MovableObject::mRenderQueueIDSet [protected, inherited] |
Flags whether the RenderQueue's default should be used.
Definition at line 126 of file OgreMovableObject.h.
uint32 Ogre::MovableObject::mQueryFlags [protected, inherited] |
Flags determining whether this object is included / excluded from scene queries.
Definition at line 128 of file OgreMovableObject.h.
uint32 Ogre::MovableObject::mVisibilityFlags [protected, inherited] |
Flags determining whether this object is visible (compared to SceneManager mask).
Definition at line 130 of file OgreMovableObject.h.
Sphere Ogre::MovableObject::mWorldBoundingSphere [mutable, protected, inherited] |
Definition at line 134 of file OgreMovableObject.h.
AxisAlignedBox Ogre::MovableObject::mWorldDarkCapBounds [mutable, protected, inherited] |
bool Ogre::MovableObject::mCastShadows [protected, inherited] |
bool Ogre::MovableObject::mRenderingDisabled [protected, inherited] |
Does rendering this object disabled by listener?
Definition at line 141 of file OgreMovableObject.h.
Listener* Ogre::MovableObject::mListener [protected, inherited] |
MovableObject listener - only one allowed (no list) for size & performance reasons. */.
Definition at line 143 of file OgreMovableObject.h.
LightList Ogre::MovableObject::mLightList [mutable, protected, inherited] |
List of lights for this object.
Reimplemented in Ogre::StaticGeometry::Region.
Definition at line 146 of file OgreMovableObject.h.
ulong Ogre::MovableObject::mLightListUpdated [mutable, protected, inherited] |
The last frame that this light list was updated in.
Reimplemented in Ogre::StaticGeometry::Region.
Definition at line 148 of file OgreMovableObject.h.
uint32 Ogre::MovableObject::msDefaultQueryFlags [static, protected, inherited] |
uint32 Ogre::MovableObject::msDefaultVisibilityFlags [static, protected, inherited] |
AnimableDictionaryMap Ogre::AnimableObject::msAnimableDictionary [static, protected, inherited] |
Static map of class name to list of animable value names.
Definition at line 236 of file OgreAnimable.h.
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:04:54 2009