API Docs for:
Show:

Component_PixelateAnimation Class

Module: gs

Executes a pixelate-animation on a game-object.

Item Index

Methods

Properties

Methods

start

(
  • power
  • duration
  • easingType
  • [callback]
)

Starts the pixelate-animation.

Parameters:

  • power Number

    The target power.

  • duration Number

    The duration in frames.

  • easingType Object

    The easing-type.

  • [callback] Function optional

    An optional callback called if the animation is finished.

update

()

Updates the blend-animation.

Properties

easing

gs.Easing

The easing-object used for the animation.