Previous Up Next

M3setEmitter
Allows to modify an emitter’s parameters. If the H3d given as an argument is not a particle emitter or if the session is not valid, the function returns nil, or otherwise 0. If one or several arguments are set to nil, these parameters are not modified.

I M3setEmitter (
S3d _session_
H3d _emitter_
I _mask_
F _life_
[I [F F F] [F F F]] _volume_
)
Parameters

_session_
3D Session
_emitter_
Particle emitter
_mask_
mask : nil or PCL_INFINIT
_life_
Particle emitter lifespan
_volume_
Description of emission volume : see M3createEmitter.
Return value

0 if successful, otherwise nil
See Also

M3getEmitter and M3createEmitter