Bones player properties
Use these properties to work with bones animations:
Property
whichModel.bonesPlay
er.playing
whichModel.
bonesPlayer.
playList
whichModel.
bonesPlayer.
currentTime
whichModel.
bonesPlayer.
playRate
whichModel.
bonesPlayer.
playList.count
whichModel.
bonesPlayer.
rootLock
whichModel.
bonesPlayer.
currentLoopState
whichModel.
bonesPlayer.
blendTime
374
Chapter 16: Working with Models and Model Resources
Access
Description
Get
TRUE (1)
Get
A linear list of property lists, where each
property list yields the parameters for
the currently playing and queued
animations. For example,
"Walk_rt_turn", #loop: 0,
#startTime: 0, #endTime: 4000,
#scale: 1.0000], [#name: "Walk",
#loop: 1, #startTime: 0, #endTime: -
1, #scale: 1.0000]]
Get and set
Current local time of motion at the top of
the play list, in milliseconds. The
motion's duration property tells you how
long the animation lasts.
Get and set
A value indicating how quickly or slowly
to play back the motion. For example, a
value of 2.0 doubles the speed of the
motion; a value of 0.5 halves the speed
of the motion. This value is multiplied by
the value of the
the
play
Get
Current linear list of property lists, with
each property list containing the name
of a motion and its playback properties.
Get and set
means the model's root bone
TRUE
remains at its current position. The root
bone is the central bone from which all
other bones branch. If this property is set
to
TRUE
model appears to walk in place.
Get and set
A value of
the play list loops. A value of
off looping for the motion at the top of
the play list.
Get and set
Length in milliseconds of the period
when blending takes place between
motions. The
linked to motion duration. Motion
blending is disabled if
and
autoBlend = TRUE
= playing;
= paused.
FALSE (0)
[[#name:
.
parameter of
playRate
or
method.
queue
during a walking motion, the
means the top motion in
TRUE
FALSE
property is
blendTime
blendTime = 0
.
Default
TRUE (1)
Empty list []
0
1.0
0
FALSE
FALSE
turns
500
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers