Table of Contents
Extends: Node
Description
AnimationBase is an abstract node class that contains the fields common to the Animation, SequentialAnimation, and ParallelAnimation nodes. The purpose of the AnimationBase node class is to provide the basic functionality needed to animate screen elements, such as moving them across the display screen, fading them in and out of view, or changing their color. All node classes extended from AnimationBase require the use of the interpolator node classes FloatFieldInterpolator, Vector2DFieldInterpolator, and ColorFieldInterpolator as child nodes to achieve a specific animation effect.
AnimationBase is not meant to be instantiated directly by channel code.
Fields
Field | Type | Default | Use | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
control | option string | "none" | Controls the animation. Supported options include:
| ||||||||||||||
state | value string | "stopped" | Read-Only
| ||||||||||||||
repeat | Boolean | false | Controls whether the animation stops when it finishes (false) or repeats from the beginning (true) | ||||||||||||||
delay | time | 0 | Delays the start of the animation by the specified number of seconds |