nw::gfx::ParticleCollection Classclass ParticleCollection : public nw::gfx::GfxObject
Class that represents information about particles within a particle system.
NW_UT_RUNTIME_TYPEINFO
|
|---|
| Create/Destroy | ||
|---|---|---|
| S | Create | Creates ParticleCollection nodes from resources. |
| S | GetMemorySize | Gets the memory size required at time of creation. |
| S |
GetDeviceMemorySize
|
Gets the device memory size required at time of creation. |
Destroy
|
Destroys an object.(Derived from GfxObject.) |
|
| Set/Get | ||
GetResParticleCollection
|
Gets the resource. | |
GetCapacity
|
Gets the maximum number of particles. | |
GetCount
|
Gets the number of particles. | |
SetCount
|
Sets the number of particles. | |
| IsStream | Checks whether the specified attribute is a stream. | |
GetStreamPtr
|
Gets the pointer to the stream for the specified attribute. | |
| GetParameterPtr | Gets the pointer to the parameter for the specified attribute. | |
| SetLifeParameter | Sets the PARTICLEUSAGE_LIFE parameter. | |
GetStreamOrParameter
|
Gets the stream or parameter for the specified attribute. | |
Clear
|
This function clears all streams. | |
| SwapBuffer | Swaps the target buffer (switches from the calculation buffer to the render buffer, or vice versa). | |
KillParticles
|
Deletes all generated particles. The particles are actually removed at the next round of deletion. If child particle emission occurs before that, it is handled as it would be at finalization. | |
| KillParticle | Removes the particle having the specified index. The particles are actually removed at the next round of deletion. If child particle emission occurs before that, it is handled as it would be at finalization. | |
| Constructors and Destructors | ||
| protected |
ParticleCollection
|
Constructor. |
| protected V |
~ParticleCollection
|
Destructor. |
nw::gfx::GfxObject
nw::gfx::ParticleCollection
CONFIDENTIAL