ParticleMaterial()

Syntax

ParticleMaterial(#ParticleEmitter, MaterialID)
Description
Assigns a material to the specified particle emitter. This material will be used by all the particles of this emitter. An emitter can only have one material assigned at once.

Parameters

#ParticleEmitter The particle emitter to use.
MaterialID The new material to use for this particle emitter. A valid 'MaterialID' can be easily obtained with the MaterialID() function.

Return value

None.

See Also

MaterialID()

Supported OS

All

<- ParticleEmitterZ() - Particle Index - ParticleSize() ->