nw::gfx::ParticleCollection Class

Syntax

class ParticleCollection : public nw::gfx::GfxObject

Description

Class that represents information about particles within a particle system.

Member Variables

NW_UT_RUNTIME_TYPEINFO

Member Functions

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.)
Resources
GetResParticleCollection Gets the resource.
Set/Get
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.
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.

Class Hierarchy

nw::gfx::GfxObject
  nw::gfx::ParticleCollection


CONFIDENTIAL