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:
-
param
StringThe name of the parameter to animate.
-
value
NumberThe target value.
-
duration
NumberThe duration in frames.
-
easingType
ObjectThe 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.