hgeResourceManager::GetParticleSystem

Returns pointer to a named particle system.

hgeParticleSystem *GetParticleSystem(
  const char *name
);

Parameters

name
Particle system name.

Return value

If successful, returns pointer to the hgeParticleSystem object. Otherwise returns 0.

Remarks

To use a particle system with hgeResourceManager you must define it in the resource script.

If the particle system hasn't been created yet, it will be created. Otherwise pointer to the existing particle system will be returned.

You could use the returned particle system info member to spawn multiple instances of it with hgeParticleManager.

Requirements

Header: hgeresource.h
Import library: hgehelp.lib