User Guide

734 Chapter 14: Properties
Example
The following statement tests whether the cast member Today’s Events is a QuickTime or AVI
(Audio-Video Interleaved) digital video and displays the result in the Message window:
put member("Today's Events").digitalVideoType
See also
QuickTimeVersion()
direction
Usage
member(whichCastmember).modelResource(whichModelResource).\
emitter.direction
Description
3D emitter property; a vector that indicates the direction in which the particles of a particle
system are emitted. A particle system is a model resource whose type is
#particle.
The primary direction of particle emission is the vector set by the emitters
direction property.
However, the direction of emission of a given particle will deviate from that vector by a random
angle between 0 and the value of the emitters
angle (3D) property.
Setting
direction to vector(0,0,0) causes the particles to be emitted in all directions.
The default value of this property is
vector(1,0,0).
Example
In this example, ThermoSystem is a model resource whose type is #particle. This statement sets
the
direction property of ThermoSystems emitter to vector(1, 0, 0), which causes the
particles of ThermoSystem to be emitted into a conical region whose axis is the X axis of the
3D world.
member("Fires").modelResource("ThermoSystem").emitter.\
direction = vector(1,0,0)
See also
emitter, angle (3D)
directionalColor
Usage
member(whichCastmember).directionalColor
Description
3D cast member property; indicates the RGB color of the default directional light of the
cast member.
The default value of this property is rgb(255, 255, 255).