Animation (not a class)

Namespace: TSUI.Animation
Extends: N/A
Implements: N/A
Exported: N/A
JSDoc status: Complete

Associated source files:

Description

Contains requestAnimationFrame handling and AnimationCallback and AnimationHelper classes.

Variables

AnimationIntervalRef: number;
The interval reference used when simulating request animation frame.
AnimationCallbacks: Collections.IList;
The list of animation callbacks to invoke when requestAnimationFrame is answered.

Methods

RegisterAnimationCallback(obj: AnimationCallback)
Adds an animation callback to the list of animation callbacks.
RegisterAnimationForSingleCallback(obj: AnimationCallback)
Adds an animation callback to the list of animation callbacks to be invoked only once.
UnregisterAnimationCallback(obj: AnimationCallback)
Removes an animation callback to the list of animation callbacks.

Private Methods

AnimationCallbacks_Modified(eventArgs: Events.CollectionModifiedEventArgs)
Called when the list of animation callbacks is modified.
AnimationIntervaFunc()
Called when requestAnimationFrame (or its simulation) is answered.

Last edited Jul 27, 2013 at 1:24 PM by EdwardNutting, version 3

Comments

No comments yet.