Bones player commands
Use these commands to work with bones animations:
Command
.bonesPlayer.
whichModel
play(
"name", looped, startTime, endTime,
)
playRate
.bonesPlayer.
whichModel
playNext
.bonesPlayer.
whichModel
queue(
"name", looped, startTime, endTime,
)
playRate
.bonesPlayer.
whichModel
removeLast()
.bonesPlayer.
whichModel
pause()
Bones player properties
Use these properties to work with bones animations:
Property
.bonesPla
whichModel
yer.playing
.
whichModel
bonesPlayer.
playList
504
Chapter 19
Description
Plays the motion named
timeOffset
time
motion being pushed down the play list. If
looped
motion begins again when this motion
completes.
StartTime
milliseconds, or it can be the symbol
#synchronized
to start this new motion at the same relative
time offset to it's total duration as the currently
playing motion is to it's total duration. The
playRate
play the motion. A value of 2 doubles the
speed of the motion. This value is multiplied by
the value of the
property.
If blending is enabled, blending begins the
play()
instant
Ends the currently playing motion, removes it
from the play list, and begins the next motion.
if blending is enabled, blending begins the
playNext()
instant
Adds the specified motion to the end of the
play list. The parameters are same as those for
play()
the
Removes the most recently added motion
from the play list. The motion will be removed
from the play list even if it is also the currently
playing motion.
Pauses the Bones player.
Access
Description
TRUE (1)
Get
Get
A linear list of property lists, where each
property list yields the parameters for the
currently playing and queued animations. For
example,
#loop: 0, #startTime: 0,
#endTime: 4000, #scale:
1.0000], [#name: "Walk", #loop:
1, #startTime: 0, #endTime: -1,
#scale: 1.0000]]
name
starting at the
, with the currently playing
FALSE (0)
is
, the preceding
can be an integer number of
#synchronized
. Use
parameter indicates how fast to
bonesPlayer.playRate
is called.
is called.
command.
FALSE (0)
= playing;
= paused.
[[#name: "Walk_rt_turn",
.
Returns
Nothing
Nothing
Nothing
Nothing
Nothing
Default
TRUE (1)
Empty list []
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers