3D Lingo Dictionary > L-N > loop (emitter)

 

loop (emitter)

Syntax

member(whichCastmember).modelResource(whichModelResource).emitter.loop

Description

3D property; when used with a model resource whose type is #particle, this property allows you to both get and set what happens to particles at the end of their lifetime. A loop value of TRUE causes particles to be reborn at the end of their lifetime at the emitter location defined by the emitter's region property. A value of FALSE causes the particles to die at the end of their lifetime. The default setting for this property is TRUE.

Example

In this example, ThermoSystem is a model resource of the type #particle. This statement sets the emitter.loop property of ThermoSystem to 1, which causes the particles of ThermoSystem to be continuously emitted.

member("Fires").modelResource("ThermoSystem").emitter.loop = 1

See also

emitter