API Docs for:
Show:

Component_BlendAnimation Class

Module: gs

Executes a blend-animation on a game-object.

Item Index

Properties

Methods

start

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

Starts the blend-animation.

Parameters:

  • opacity Number

    The target opacity.

  • duration Number

    The duration in frames.

  • easingType Object

    The easing-type.

  • [callback] Function optional

    An optional callback called if blending is finished.

toDataBundle

()

Serializes the blend-animation into a data-bundle.

update

()

Updates the blend-animation.

Properties

easing

gs.Easing

The easing-object used for the animation.