API Docs for:
Show:

gs.Live2DMotionManager Class

Manages Live2D motions and plays them on a model.

Constructor

gs.Live2DMotionManager

()

Methods

startMotionGroup

(
  • group
  • playType
)

Starts to play a specified motion-group.

Parameters:

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.

playType

gs.Live2DMotionPlayTypes

The current motion play-type.