EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 633

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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