User Guide

840 Chapter 14: Properties
loop (3D)
Usage
member(whichCastmember).loop
Description
3D cast member property; indicates whether motions applied to the first model in the cast
member repeat continuously (
TRUE) or play once and stop (FALSE).
The default setting for this property is
TRUE.
Example
This statement sets the loop property of the cast member named Walkers to TRUE. Motions
being executed by the first model in Walker will repeat continuously.
member("Walkers").loop = TRUE
See also
motion, play() (3D), queue() (3D), animationEnabled
loop (emitter)
Usage
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