#include <OgreParticleSystem.h>
Inheritance diagram for Ogre::ParticleSystem:
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 * | 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. | |||
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 | 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) | ||
| |||
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 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 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 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 | 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 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. | |||
EdgeData * | getEdgeList (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. | |||
Real | getPointExtrusionDistance (const Light *l) const | ||
Get the distance to extrude for a point/spot light. | |||
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. | |||
Static Public Member Functions | |||
void | setDefaultIterationInterval (Real iterationInterval) | ||
Set the default iteration interval for all ParticleSystem instances. | |||
Real | getDefaultIterationInterval (void) | ||
Get the default iteration interval for all ParticleSystem instances. | |||
void | setDefaultNonVisibleUpdateTimeout (Real timeout) | ||
Set the default nonvisible timeout for all ParticleSystem instances. | |||
Real | getDefaultNonVisibleUpdateTimeout (void) | ||
Get the default nonvisible timeout for all ParticleSystem instances. | |||
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. | |||
void | setDefaultQueryFlags (uint32 flags) | ||
Set the default query flags for all future MovableObject instances. | |||
uint32 | getDefaultQueryFlags (uint32 flags) | ||
Get the default query flags for all future MovableObject instances. | |||
void | setDefaultVisibilityFlags (uint32 flags) | ||
Set the default visibility flags for all future MovableObject instances. | |||
uint32 | getDefaultVisibilityFlags (uint32 flags) | ||
Get the default visibility flags for all future MovableObject instances. | |||
void | extrudeVertices (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::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 | _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 | 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. | |||
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 moethod 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, 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 &vec) 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. | |||
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. | |||
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. | |||
String | mOrigin | ||
Optional origin of this particle system (eg script name). | |||
String | mParamDictName | ||
Class name for this instance to be used as a lookup (must be initialised by subclasses). | |||
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? | |||
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? | |||
Static Protected Attributes | |||
CmdCull | msCullCmd | ||
Command objects. | |||
CmdHeight | msHeightCmd | ||
CmdMaterial | msMaterialCmd | ||
CmdQuota | msQuotaCmd | ||
CmdWidth | msWidthCmd | ||
CmdRenderer | msRendererCmd | ||
CmdSorted | msSortedCmd | ||
CmdLocalSpace | msLocalSpaceCmd | ||
CmdIterationInterval | msIterationIntervalCmd | ||
CmdNonvisibleTimeout | msNonvisibleTimeoutCmd | ||
RadixSort< ActiveParticleList, Particle *, float > | mRadixSorter | ||
Real | msDefaultIterationInterval | ||
Default iteration interval. | |||
Real | msDefaultNonvisibleTimeout | ||
Default nonvisible update timeout. | |||
ParamDictionaryMap | msDictionary | ||
Dictionary of parameters. | |||
uint32 | msDefaultQueryFlags | ||
Default query flags. | |||
uint32 | msDefaultVisibilityFlags | ||
Default visibility flags. | |||
AnimableDictionaryMap | msAnimableDictionary | ||
Static map of class name to list of animable value names. |
Definition at line 56 of file OgreParticleSystem.h.
|
Definition at line 636 of file OgreParticleSystem.h. |
|
Definition at line 202 of file OgreAnimable.h. |
|
Definition at line 637 of file OgreParticleSystem.h. |
|
Definition at line 691 of file OgreParticleSystem.h. |
|
Definition at line 690 of file OgreParticleSystem.h. |
|
Definition at line 638 of file OgreParticleSystem.h. |
|
Definition at line 121 of file OgreShadowCaster.h. |
|
Definition at line 122 of file OgreShadowCaster.h. |
|
Default constructor required for STL creation in manager.
|
|
Creates a particle system with no emitters or affectors.
|
|
|
|
Updates existing particle based on their momentum.
|
|
Internal method used to expire dead particles.
|
|
Returns an iterator for stepping through all particles in this system.
|
|
Get the manager of this object, if any (internal use only).
Definition at line 111 of file OgreMovableObject.h. |
|
return the full transformation of the parent sceneNode or the attachingPoint node
|
|
Overridden from MovableObject.
Reimplemented from Ogre::MovableObject. |
|
Notify the object of it's creator (internal use only).
Definition at line 107 of file OgreMovableObject.h. |
|
Overridden from MovableObject.
Reimplemented from Ogre::MovableObject. |
|
Notify the object of it's manager (internal use only).
Definition at line 109 of file OgreMovableObject.h. |
|
Notify this particle system of it's origin.
Definition at line 502 of file OgreParticleSystem.h. References Ogre::String. |
|
Internal callback used by Particles to notify their parent that they have been resized.
|
|
Internal callback used by Particles to notify their parent that they have been rotated.
|
|
Sort the particles in the system *.
|
|
Applies the effects of affectors.
|
|
Spawn new particles based on free quota and emitter requirements.
|
|
Updates the particles in the system based on time elapsed.
|
|
Internal method for updating the bounds of the particle system.
|
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
Adds an affector to this particle system.
|
|
Adds an emitter to this particle system.
|
|
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 268 of file OgreMovableObject.h. References Ogre::uint32. |
|
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 296 of file OgreMovableObject.h. References Ogre::uint32. |
|
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. |
|
Empties this set of all particles.
|
|
Internal method to configure the renderer.
|
|
Method for copying this object's parameters to another object.
Definition at line 296 of file OgreStringInterface.h. References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter(). |
|
Internal method for creating a dictionary of animable value names for the class, if it does not already exist.
Definition at line 215 of file OgreAnimable.h. References Ogre::StringVector. |
|
Create a reference-counted AnimableValuePtr for the named value.
Reimplemented in Ogre::Light. Definition at line 281 of file OgreAnimable.h. References Ogre::AnimableValuePtr, OGRE_EXCEPT, and Ogre::String. |
|
Internal method for creating a parameter dictionary for the class, if it does not already exist.
Definition at line 172 of file OgreStringInterface.h. References Ogre::String. |
|
Manually add a particle to the system.
|
|
Internal method for creating ParticleVisualData instances for the pool.
|
|
Internal method for destroying ParticleVisualData instances for the pool.
|
|
Utility method for extruding a bounding box.
|
|
Utility method for extruding vertices based on a light.
|
|
Fast-forwards this system by the required number of seconds.
|
|
Generates the indexes required to render a shadow volume into the index buffer which is passed in, and updates shadow renderables to use it.
|
|
Retrieves an affector by it's index (zero-based).
|
|
Get the name of the animable dictionary for this class.
Reimplemented in Ogre::Light. Definition at line 210 of file OgreAnimable.h. References Ogre::String. |
|
Gets a list of animable value names for this object.
Definition at line 256 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::StringVector. |
|
Get an updateable reference to animable value list.
Definition at line 228 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::StringVector. |
|
Overridden from MovableObject.
Implements Ogre::MovableObject. Definition at line 338 of file OgreParticleSystem.h. |
|
Overridden from MovableObject.
Implements Ogre::MovableObject. Definition at line 344 of file OgreParticleSystem.h. References Ogre::Real. |
|
Returns whether shadow casting is enabled for this object.
Implements Ogre::ShadowCaster. Definition at line 339 of file OgreMovableObject.h. |
|
Returns whether or not particles in this are tested individually for culling.
|
|
Overridden member from ShadowCaster.
Implements Ogre::ShadowCaster. |
|
See setDefaultDimensions - this gets 1 component individually.
|
|
Get the default iteration interval for all ParticleSystem instances.
Definition at line 407 of file OgreParticleSystem.h. References Ogre::Real. |
|
Get the default nonvisible timeout for all ParticleSystem instances.
Definition at line 436 of file OgreParticleSystem.h. References Ogre::Real. |
|
Get the default query flags for all future MovableObject instances.
Definition at line 283 of file OgreMovableObject.h. References Ogre::uint32. |
|
Get the default visibility flags for all future MovableObject instances.
Definition at line 311 of file OgreMovableObject.h. References Ogre::uint32. |
|
See setDefaultDimensions - this gets 1 component individually.
|
|
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 314 of file OgreMovableObject.h. |
|
Retrieves an emitter by it's index (zero-based).
|
|
Helper moethod for calculating extrusion distance.
|
|
Gets a 'iteration interval' on this particle system.
Definition at line 399 of file OgreParticleSystem.h. References Ogre::Real. |
|
Gets whether particles (and any affector effects) remain relative to the node the particle system is attached to.
Definition at line 560 of file OgreParticleSystem.h. |
|
Overridden member from ShadowCaster.
Implements Ogre::ShadowCaster. |
|
Sets the name of the material to be used for this billboard set.
|
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
Returns the name of this object.
Reimplemented in Ogre::Camera. Definition at line 114 of file OgreMovableObject.h. References Ogre::String. |
|
Gets when the particle system should stop updating after it hasn't been visible for a while.
Definition at line 427 of file OgreParticleSystem.h. References Ogre::Real. |
|
Returns the number of affectors for this particle system.
|
|
Returns the number of emitters for this particle system.
|
|
Gets the number of individual particles in the system right now.
|
|
Get the origin of this particle system, e.g. a script file name.
Definition at line 500 of file OgreParticleSystem.h. References Ogre::String. |
|
Definition at line 209 of file OgreStringInterface.h. |
|
Retrieves the parameter dictionary for this class.
Definition at line 196 of file OgreStringInterface.h. |
|
Generic parameter retrieval method.
Definition at line 265 of file OgreStringInterface.h. References Ogre::ParamCommand::doGet(), Ogre::ParamDictionary::getParamCommand(), and Ogre::String. |
|
Retrieves a list of parameters valid for this object.
|
|
Returns the node to which this object is attached.
|
|
Returns the scene node to which this object is attached.
|
|
Retrieve a particle from the system for manual tweaking.
|
|
Returns the maximum number of particles this system is allowed to have active at once.
|
|
Get the distance to extrude for a point/spot light.
Implements Ogre::ShadowCaster. |
|
Returns the query flags relevant for this object.
Definition at line 275 of file OgreMovableObject.h. References Ogre::uint32. |
|
Gets the ParticleRenderer to be used to render this particle system.
|
|
Gets the name of the ParticleRenderer to be used to render this particle system.
|
|
Gets the distance at which batches are no longer rendered.
Definition at line 208 of file OgreMovableObject.h. References Ogre::Real. |
|
Gets the queue group for this entity, see setRenderQueueGroup for full details.
|
|
Return the resource group to be used to load dependent resources.
Definition at line 493 of file OgreParticleSystem.h. References Ogre::String. |
|
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. |
|
Gets whether particles are sorted relative to the camera.
Definition at line 515 of file OgreParticleSystem.h. |
|
Gets the 'speed factor' on this particle system.
Definition at line 378 of file OgreParticleSystem.h. References Ogre::Real. |
|
Override to return specific type flag.
Reimplemented from Ogre::MovableObject. |
|
Retrieves the custom user value associated with this object.
Definition at line 236 of file OgreMovableObject.h. |
|
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
Definition at line 220 of file OgreMovableObject.h. |
|
Returns the visibility flags relevant for this object.
Definition at line 303 of file OgreMovableObject.h. References Ogre::uint32. |
|
Retrieves the axis-aligned bounding box for this object in world coordinates.
Implements Ogre::ShadowCaster. Reimplemented in Ogre::Entity. |
|
Retrieves the worldspace bounding sphere for this object.
Reimplemented in Ogre::Entity. |
|
Resize the internal pool of particles.
|
|
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters.
Reimplemented in Ogre::Light. Definition at line 248 of file OgreAnimable.h. References Ogre::StringVector. |
|
Internal method for initialising string interface.
|
|
Returns true if this object is attached to a SceneNode or TagPoint.
|
|
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.
|
|
Returns whether or not this object is supposed to be visible or not.
Reimplemented in Ogre::StaticGeometry::Region. |
|
Assignment operator for copying.
|
|
Removes an affector from the system.
|
|
Removes all the affectors from this system.
|
|
Removes all the emitters from this system.
|
|
Removes an emitter from the system.
|
|
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 272 of file OgreMovableObject.h. |
|
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 300 of file OgreMovableObject.h. References Ogre::uint32. |
|
Set the (initial) bounds of the particle system manually.
|
|
Sets whether the bounds will be automatically updated for the life of the particle system.
|
|
Sets whether or not this object will cast shadows.
Definition at line 337 of file OgreMovableObject.h. |
|
Sets whether culling tests particles in this individually as well as in a group.
|
|
Sets the default dimensions of the particles in this set.
|
|
See setDefaultDimensions - this sets 1 component individually.
|
|
Set the default iteration interval for all ParticleSystem instances.
Definition at line 403 of file OgreParticleSystem.h. References Ogre::Real. |
|
Set the default nonvisible timeout for all ParticleSystem instances.
Definition at line 431 of file OgreParticleSystem.h. References Ogre::Real. |
|
Set the default query flags for all future MovableObject instances.
Definition at line 279 of file OgreMovableObject.h. References Ogre::uint32. |
|
Set the default visibility flags for all future MovableObject instances.
Definition at line 307 of file OgreMovableObject.h. References Ogre::uint32. |
|
See setDefaultDimensions - this sets 1 component individually.
|
|
Sets a 'iteration interval' on this particle system.
|
|
Sets whether particles (and any affector effects) remain relative to the node the particle system is attached to.
|
|
Sets the name of the material to be used for this billboard set.
|
|
Sets when the particle system should stop updating after it hasn't been visible for a while.
|
|
Generic parameter setting method.
Referenced by Ogre::StringInterface::copyParametersTo(). |
|
Generic multiple parameter setting method.
|
|
Sets the maximum number of particles this system is allowed to have active at once.
|
|
Sets the query flags for this object.
Definition at line 264 of file OgreMovableObject.h. References Ogre::uint32. |
|
Sets the ParticleRenderer to be used to render this particle system.
|
|
Sets the distance at which the object is no longer rendered.
Definition at line 202 of file OgreMovableObject.h. References Ogre::Real. |
|
Reimplemented from Ogre::MovableObject. |
|
Set whether or not particles are sorted according to the camera.
Definition at line 513 of file OgreParticleSystem.h. |
|
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 374 of file OgreParticleSystem.h. References Ogre::Real. |
|
Sets any kind of user value on this object.
Definition at line 232 of file OgreMovableObject.h. |
|
Call this to associate your own custom user object instance with this MovableObject.
Definition at line 216 of file OgreMovableObject.h. |
|
Sets the visiblity flags for this object.
Definition at line 292 of file OgreMovableObject.h. References Ogre::uint32. |
|
Tells this object whether to be visible or not, if it has a renderable component.
Reimplemented in Ogre::Light. |
|
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.
|
|
Definition at line 594 of file OgreParticleSystem.h. |
|
Active particle list.
Definition at line 671 of file OgreParticleSystem.h. |
|
List of particle affectors, ie modifiers of particles.
Definition at line 696 of file OgreParticleSystem.h. |
|
Hidden because of distance?
Definition at line 68 of file OgreMovableObject.h. |
|
Definition at line 595 of file OgreParticleSystem.h. |
|
Definition at line 596 of file OgreParticleSystem.h. |
|
Definition at line 597 of file OgreParticleSystem.h. |
|
Does this object cast shadows?
Definition at line 86 of file OgreMovableObject.h. |
|
Creator of this object (if created by a factory).
Definition at line 56 of file OgreMovableObject.h. |
|
Do we cull each particle individually?
Definition at line 702 of file OgreParticleSystem.h. |
|
Default height of each particle.
Definition at line 614 of file OgreParticleSystem.h. |
|
Default width of each particle.
Definition at line 612 of file OgreParticleSystem.h. |
|
List of particle emitters, ie sources of particles.
Definition at line 694 of file OgreParticleSystem.h. |
|
Free particle queue.
Definition at line 682 of file OgreParticleSystem.h. |
|
Have we set the material etc on the renderer?
Definition at line 608 of file OgreParticleSystem.h. |
|
Iteration interval.
Definition at line 618 of file OgreParticleSystem.h. |
|
Iteration interval set? Otherwise track default.
Definition at line 620 of file OgreParticleSystem.h. |
|
Last frame in which known to be visible.
Definition at line 632 of file OgreParticleSystem.h. |
|
Particles in local space?
Definition at line 624 of file OgreParticleSystem.h. |
|
SceneManager holding this object (if applicable).
Definition at line 58 of file OgreMovableObject.h. |
|
Name of the material to use.
Definition at line 606 of file OgreParticleSystem.h. |
|
Name of this object.
Reimplemented in Ogre::Camera. Definition at line 54 of file OgreMovableObject.h. |
|
Update timeout when nonvisible (0 for no timeout).
Definition at line 626 of file OgreParticleSystem.h. |
|
Update timeout when nonvisible set? Otherwise track default.
Definition at line 628 of file OgreParticleSystem.h. |
|
Optional origin of this particle system (eg script name).
Definition at line 711 of file OgreParticleSystem.h. |
|
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 160 of file OgreStringInterface.h. |
|
Definition at line 61 of file OgreMovableObject.h. |
|
node to which this object is attached
Definition at line 60 of file OgreMovableObject.h. |
|
Pool of particle instances for use and reuse in the active particle list.
Definition at line 688 of file OgreParticleSystem.h. |
|
Pointer to the material to use.
Definition at line 610 of file OgreParticleSystem.h. |
|
The number of particles in the pool.
Definition at line 708 of file OgreParticleSystem.h. |
|
Flags determining whether this object is included / excluded from scene queries.
Definition at line 76 of file OgreMovableObject.h. |
|
Definition at line 660 of file OgreParticleSystem.h. |
|
The renderer used to render this particle system.
Definition at line 699 of file OgreParticleSystem.h. |
|
The name of the type of renderer used to render this system.
Definition at line 705 of file OgreParticleSystem.h. |
|
The render queue to use when rendering this object.
Definition at line 72 of file OgreMovableObject.h. |
|
Flags whether the RenderQueue's default should be used.
Definition at line 74 of file OgreMovableObject.h. |
|
Name of the resource group to use to load materials.
Definition at line 604 of file OgreParticleSystem.h. |
|
Static map of class name to list of animable value names.
Definition at line 204 of file OgreAnimable.h. |
|
Command objects.
Definition at line 582 of file OgreParticleSystem.h. |
|
Default iteration interval.
Definition at line 714 of file OgreParticleSystem.h. |
|
Default nonvisible update timeout.
Definition at line 716 of file OgreParticleSystem.h. |
|
Default query flags.
Definition at line 90 of file OgreMovableObject.h. |
|
Default visibility flags.
Definition at line 92 of file OgreMovableObject.h. |
|
Dictionary of parameters.
Definition at line 157 of file OgreStringInterface.h. |
|
Definition at line 583 of file OgreParticleSystem.h. |
|
Definition at line 590 of file OgreParticleSystem.h. |
|
Definition at line 589 of file OgreParticleSystem.h. |
|
Definition at line 584 of file OgreParticleSystem.h. |
|
Definition at line 591 of file OgreParticleSystem.h. |
|
Particles sorted according to camera?
Definition at line 622 of file OgreParticleSystem.h. |
|
Speed factor.
Definition at line 616 of file OgreParticleSystem.h. |
|
Definition at line 66 of file OgreMovableObject.h. |
|
Definition at line 585 of file OgreParticleSystem.h. |
|
Definition at line 587 of file OgreParticleSystem.h. |
|
Definition at line 588 of file OgreParticleSystem.h. |
|
Definition at line 586 of file OgreParticleSystem.h. |
|
Controller for time update.
Definition at line 634 of file OgreParticleSystem.h. |
|
Amount of time non-visible so far.
Definition at line 630 of file OgreParticleSystem.h. |
|
Definition at line 598 of file OgreParticleSystem.h. |
|
Upper distance to still render.
Definition at line 65 of file OgreMovableObject.h. |
|
User defined link to another object / value / whatever.
Definition at line 70 of file OgreMovableObject.h. |
|
Flags determining whether this object is visible (compared to SceneManager mask).
Definition at line 78 of file OgreMovableObject.h. |
|
Is this object visible?
Definition at line 63 of file OgreMovableObject.h. |
|
World AABB, only used to compare world-space positions to calc bounds.
Reimplemented from Ogre::MovableObject. Definition at line 601 of file OgreParticleSystem.h. |
|
Definition at line 82 of file OgreMovableObject.h. |
|
World space AABB of this object's dark cap.
Definition at line 84 of file OgreMovableObject.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:41:15 2006