3D Lingo Dictionary > L-N > lifetime

 

lifetime

Syntax

member(whichCastmember).modelResource(modelResource).lifetime

Description

3D #particle model resource property; for all particles in a particle system, this property indicates the number of milliseconds from the creation of a particle to the end of its existence.

The default value of this property is 10,000.

Example

In this example, ThermoSystem is a model resource of the type #particle. This statement sets the lifetime property of ThermoSystem to 90.0 This means each particle of ThermoSystem will exist for 90 milliseconds.

member(8,2).modelResource("ThermoSystem").lifetime = 90.0

See also

emitter