Component_ZoomAnimation Class
Executes a zoom-animation on a game-object.
Methods
toDataBundle
()
Serializes the zoom-animation into a data-bundle.
update
()
Updates the zoom-animation.
zoomTo
(
-
x -
y -
duration -
easingType -
[callback]
Starts the zoom-animation.
Parameters:
-
xNumberThe x-axis zoom-factor.
-
yNumberThe y-axis zoom-factor.
-
durationNumberThe duration in frames.
-
easingTypeObjectThe easing-type.
-
[callback]Function optionalAn optional callback called if blending is finished.
Properties
easing
gs.Easing
The easing-object used for the animation.
