object.emitter.<...>

Return to Introduction  Previous page  Next page

The emitter class can be used on objects of type 'emitter' to configure how particles are produced.

 

Properties

 

frequency

A floating point value representing the number of particles per second to be emitted.

direction

A Vector determining the main direction in which particles are emitted.

directionSpread

A floating point value determining the deviation from the main direction allowed in radians.

speed

A floating point value for the average speed of particles.

speedSpread

A floating point value for the variation in speed.

active

A boolean value, when true the emitter will emit particles.

particleType

A string identifier of the particle type (defined in the scene) to be produced.

 

Examples

 

object.emitter.frequency=20; // 20 particles per second

 

Remarks

 

Attaching the emitter to an object or subgroup can make it more useful.

 

See Also

 

Script Reference



Copyright ©2004 Worldweaver Ltd. DX Studio Home