bonesPlayer (modifier)
665
Example
This statement sets the length of the transition between motions in the playlist of the modifier for
the model named Alien5 to 1200 milliseconds.
member("newaliens").model("Alien5").keyframePlayer.\
blendTime = 1200
See also
autoblend
,
blendFactor
bone
Usage
member(
whichCastmember
).modelResource(
whichModelResource
).\
bone.count
member(
whichCastmember
).model(
whichModel
).bonesPlayer.\
bone[
index
].transform
member(
whichCastmember
).model(
whichModel
).bonesPlayer.\
bone[
index
].worldTransform
Description
3D element; a bone is structural element of a model resource authored in a 3D modeling
program. Bones cannot be created, deleted, or rearranged in Director.
Bones (
#bones
) motions, which also must be scripted in a 3D modeling program, act upon the
bone structure of a model resource, and are managed in Director by the
bonesPlayer
modifier.
See also
count (3D)
,
bonesPlayer (modifier)
,
transform (property)
,
worldTransform
bonesPlayer (modifier)
Usage
member(
whichCastmember
).model(
whichModel
).
bonesPlayer.
whichBonesPlayerProperty
Description
3D modifier; manages the use of motions by models. The motions managed by the
bonesPlayer
modifier animate segments, called bones, of the model.
Motions and the models that use them must be created in a 3D modeling program, exported as
W3D files, and then imported into a movie. Motions cannot be applied to model primitives
created within Director.
Adding the
bonesPlayer
modifier to a model by using the
addModifier
command allows access
to the following
bonesPlayer
modifier properties:
playing (3D)
indicates whether a model is executing a motion.
playlist
is a linear list of property lists containing the playback parameters of the motions that
are queued for a model.
currentTime (3D)
indicates the local time, in milliseconds, of the currently playing or
paused motion.
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...