angle (DVD)
633
angle (3D)
Usage
member(
whichCastmember
).modelResource(
whichModelResource
).\
emitter.angle
Description
3D emitter property; describes the area into 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 emitter’s
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 emitter’s
angle
property.
The effective range of this property is 0.0 to 180.0. The default value is 180.0.
Example
This statement sets the angle of emission of the model resource named mrFount to 1, which
causes the emitted particles to form a thin line.
member("fountain").modelResource("mrFount").emitter.angle = 1
See also
emitter
,
direction
angle (DVD)
Usage
-- Lingo syntax
dvdObjRef
.angle
// JavaScript syntax
dvdObjRef
.angle;
Description
DVD property; returns the number of the current camera angle. Read/write.
The returned number is an integer.
Example
This statement returns the number of the current camera angles:
-- Lingo syntax
put(member(1).angle) -- 1
// JavaScript syntax
put(member(1).angle); // 1
See also
DVD
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...