API Docs for:
Show:

Component_Live2DAnimation Class

Module: gs

Executes an animation on specific Live2D model-parameter of the Live2D game-object.

Item Index

Properties

Methods

start

(
  • param
  • value
  • duration
  • easingType
  • [callback]
)

Starts the animation.

Parameters:

  • param String

    The name of the parameter to animate.

  • value Number

    The target value.

  • duration Number

    The duration in frames.

  • easingType Object

    The easing-type.

  • [callback] Function optional

    An optional callback called if the animation has been finished.

toDataBundle

()

Serializes the animation into a data-bundle.

update

()

Updates the animation.

Properties

easing

gs.Easing

The easing-object used for the animation.

param

String

The parameter name to animate.