3D Lingo Dictionary > L-N > numParticles |  |

numParticles

Syntax

    member(whichCastmember).modelResource(whichModelResource).emitter.numParticles
    modelResourceObjectReference.emitter.numParticles

Description

3D property; when used with a model resource whose type is `#particle`, allows you to get or set the `numParticles` property of the resource's particle emitter. The value must be greater than 0 and no more than 100000. The default setting is 1000.

Example

In this example, ThermoSystem is a model resource of the type #particle. This statement sets the number of particles in ThermoSystem to 50000.

    member("Fires").modelResource("ThermoSystem").emitter.numParticles = 50000

See also

`emitter`