API Reference 0.7.1rikulo_effectAnimatorTask

AnimatorTask typedef

An animation task. To start an animation, you can add a task to Animator, such that the task will be called periodically until the task returns false.

To add an animation, please invoke Animator.add. If the task returns false, it will be removed from the animator automatially. If you'd like, you can remove it manually by use of Animator.remove.

  • time is the milliseconds from 1970-01-01 (UTC). In other words, it is the same as new DateTime.now().millisecondsSinceEpoch.

typedef bool AnimatorTask(int time);

typedef bool AnimatorTask(int time) #

typedef bool AnimatorTask(int time);