Component_Live2DAnimation Class
Executes an animation on specific Live2D model-parameter of the Live2D game-object.
Methods
start
(
-
param -
value -
duration -
easingType -
[callback]
Starts the animation.
Parameters:
-
paramStringThe name of the parameter to animate.
-
valueNumberThe target value.
-
durationNumberThe duration in frames.
-
easingTypeObjectThe easing-type.
-
[callback]Function optionalAn 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.
