MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 734

Director scripting reference
Table of Contents

Advertisement

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
The primary direction of particle emission is the vector set by the emitter's
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 emitter's
Setting
direction
The default value of this property is
Example
In this example, ThermoSystem is a model resource whose type is
the
property of ThermoSystem's emitter to
direction
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).
734
Chapter 14: Properties
to
causes the particles to be emitted in all directions.
vector(0,0,0)
vector(1,0,0)
property.
angle (3D)
.
#particle
vector(1, 0, 0)
.
#particle
property.
direction
. This statement sets
, which causes the

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents