
Chapter 3
80
The following Lingo sets the
audio
property for sprite 2 and the cast member Real to
FALSE
, which
means that the audio portion of the RealMedia stream will not be played when the movie is played.
sprite(2).audio = FALSE
member("Real").audio = FALSE
See also
soundChannel (RealMedia)
,
video (RealMedia)
,
sound
auto
Syntax
member(
whichCastmember
).model(
whichModel
).lod.auto
Description
3D
lod
modifier property; allows the modifier to manage the reduction of detail in the model as
the distance between the model and the camera changes.
The setting of the modifier’s
bias
property determines how aggressively the modifier removes
detail from the model when the
auto
property is set to
TRUE
.
The modifier updates its
level
property as it adjusts the model’s level of detail. Setting the
level
property has no effect unless the
auto
property is set to
FALSE
.
The
#lod
modifier can only be added to models created outside of Director in 3D modeling
programs. The value of the
type
property of the model resources used by these models is
#fromFile
. The modifier cannot be added to primitives created within Director.
Example
This statement sets the
auto
property of the
lod
modifier of the model named Spaceship to
TRUE
.
The modifier will automatically set the model’s level of detail.
member("3D World").model("Spaceship").lod.auto = TRUE
See also
lod (modifier)
,
bias
,
level
autoblend
Syntax
member(
whichCastmember
).model(
whichModel
).\
keyframePlayer.autoblend
member(
whichCastmember
).model(
whichModel
).bonesPlayer.autoblend
Description
3D
keyframePlayer
and
bonesPlayer
modifier property; indicates whether the modifier creates
a linear transition to the currently playing motion from the motion that preceded it
(TRUE)
or
not
(FALSE)
. If
autoBlend
is
TRUE
, the length of the transition is set by the
blendTime
property
of the modifier. If
autoBlend
is
FALSE
, the transition is controlled by the
blendFactor
property
of the modifier and
blendTime
is ignored.
Motion blending is completely disabled when
blendTime
is set to 0 and
autoBlend
is set to
TRUE
.
The default value of this property is
TRUE
.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...