Chapter 3
192
digitalVideoType
Syntax
member(
whichCastMember
).digitalVideoType
the digitalVideoType of member
whichCastMember
Description
Cast member property; indicates the format of the specified digital video. Possible values are
#quickTime
or
#videoForWindows
.
This property can be tested but not set.
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
Syntax
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 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.
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 ThermoSystem’s 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
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...