gs.Live2DMotionManager Class
Manages Live2D motions and plays them on a model.
Constructor
gs.Live2DMotionManager
()
Item Index
Properties
Methods
startMotionGroup
(
-
group
-
playType
Starts to play a specified motion-group.
Parameters:
-
group
gs.Live2DMotionGroup- The motion-group to play.
-
playType
gs.Live2DMotionPlayTypes- The play type to use.
startNextMotion
()
Starts the next motion of the motion-group depending on the play-type.
updateParam
(
-
model
Updates the motion-manager and animation. Needs to be called once per frame.
Parameters:
-
model
Object- Live2D model.
Properties
currentMotion
gs.Live2DMotion
The current motion.
motion
gs.Live2DMotionGroup
The current motion-group.