Previous Up Next

M3setEmitterState
Allows to activate or deactivate the animation of a particle system.

I M3setEmitterState (
S3d _session_
H3d _emitter_
I _state_
)
Parameters

_session_
3D Session
_emitter_
Particle emitter
_state_
The '_state_' parameter can have three values :
PCL_ENABLE : activates the animation.
PCL_DISABLE : deactivates the animation.
PCL_RESTART : reinitializes the emitter.
Return value

New emitter state.
See Also

M3getEmitterState