ParticleMaterial()

语法

ParticleMaterial(#ParticleEmitter, MaterialID)
概要
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.

参数

#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.

返回值

无.

参阅

MaterialID()

已支持操作系统

所有

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