#include 
Inherits _i_reference_target_t.
Inherited by pfx2::IParticleEffectPfx2.
| Public Types | |
| enum | ECheckOptions { eCheckChildren = 1, eCheckConfig = 2, eCheckFeatures = 4 } | 
| Determines if the effect is enabled. | |
| typedef ::ParticleLoc | ParticleLoc | 
| Public Member Functions | |
| virtual int | GetVersion () const =0 | 
| virtual void | GetMemoryUsage (ICrySizer *pSizer) const =0 | 
| virtual struct IParticleEmitter * | Spawn (const ParticleLoc &loc, const SpawnParams *pSpawnParams=NULL)=0 | 
| IParticleEmitter * | Spawn (const ParticleLoc &loc, const SpawnParams &sp) | 
| Compatibility versions. | |
| IParticleEmitter * | Spawn (bool bIndependent, const ParticleLoc &loc) | 
| virtual void | SetName (cstr sFullName)=0 | 
| virtual cstr | GetName () const =0 | 
| virtual stack_string | GetFullName () const =0 | 
| virtual void | SetEnabled (bool bEnabled)=0 | 
| virtual bool | IsEnabled (uint options=0) const =0 | 
| virtual bool | IsTemporary () const =0 | 
| Returns true if this is a run-time only unsaved effect. | |
| virtual void | SetParticleParams (const ParticleParams ¶ms)=0 | 
| Sets the particle parameters. | |
| virtual const ParticleParams & | GetParticleParams () const =0 | 
| virtual const ParticleParams & | GetDefaultParams () const =0 | 
| Get the set of ParticleParams used as the default for this effect, for serialization, display, etc. | |
| virtual int | GetChildCount () const =0 | 
| Child particle systems.  More... | |
| virtual IParticleEffect * | GetChild (int index) const =0 | 
| virtual void | ClearChilds ()=0 | 
| Removes all child particles. | |
| virtual void | InsertChild (int slot, IParticleEffect *pEffect)=0 | 
| virtual int | FindChild (IParticleEffect *pEffect) const =0 | 
| virtual void | SetParent (IParticleEffect *pParent)=0 | 
| virtual IParticleEffect * | GetParent () const =0 | 
| virtual bool | LoadResources ()=0 | 
| virtual void | UnloadResources ()=0 | 
| Unloads all resources previously loaded. | |
| virtual void | Serialize (XmlNodeRef node, bool bLoading, bool bChildren)=0 | 
| virtual void | Serialize (Serialization::IArchive &ar)=0 | 
| virtual void | Reload (bool bChildren)=0 | 
Interface to control a particle effect. This interface is used by I3DEngine::CreateParticleEffect to control a particle effect. It is created by CreateParticleEffect method of 3d engine.
| 
 | pure virtual | 
Finds in which slot a child particle effect is stored.
| pEffect | Pointer to the child particle effect. | 
| 
 | pure virtual | 
Get sub Particle's child by index.
| index | The index of a particle child. | 
| 
 | pure virtual | 
Child particle systems.
Gets the number of sub particles children.
| 
 | pure virtual | 
Gets the name of this particle effect.
| 
 | pure virtual | 
Gets the name of this particle effect.
| 
 | pure virtual | 
Gets the particles effect parent, if any.
| 
 | pure virtual | 
Gets the particle parameters.
| 
 | pure virtual | 
Inserts a child particle effect at a precise slot.
| slotInteger | value which specify the desired slot. | 
| pEffect | Pointer to the particle effect to insert. | 
| 
 | pure virtual | 
Loads all resources needed for a particle effects.
| 
 | pure virtual | 
Reloads the effect from the particle database.
| bChildren | When true, also recursively reloads effect children. | 
| 
 | pure virtual | 
Serializes particle effect to/from XML.
| bLoading | true when loading, false for saving. | 
| bChildren | When true, also recursively serializes effect children. | 
| 
 | pure virtual | 
Enables or disables the effect.
| bEnabled | Set to true to enable the effect or to false to disable it. | 
| 
 | pure virtual | 
Sets a new name to this particle effect.
| sFullName | Full name of this effect, including library and group qualifiers. | 
| 
 | pure virtual | 
Remove effect from current parent, and set new parent.
| pParent | New parent, may be 0. | 
| 
 | pure virtual | 
Spawns this effect.
| qLoc | World location to place emitter. | 
| SpawnParams | Emitter flags and options. | 
| 
 | inline | 
Spawn a particle at the specified location.
| bIndependent | Deprecated: auto-serialization now occurs when external reference count = 0. |