GlsAnimation Library
1.0.7
Provides classes and functions to support animating GL Studio objects programmatically or with script files
|
#include <gls_animation_observer.h>
Public Types | |
typedef stdortr1::shared_ptr< GlsAnimationObserverBase > | Ptr |
Alias for easier reading. | |
typedef Detail::ID | ID |
Alias for easier reading. | |
Public Member Functions | |
GlsAnimationObserverBase () | |
Constructor. | |
virtual | ~GlsAnimationObserverBase () |
Destructor. | |
virtual void | OnStarted (ID) |
virtual void | OnUpdated (ID) |
Called when the animation updates (i.e., SetKey() is called with a new value) | |
virtual void | OnCompleted (ID) |
virtual void | OnCanceled (ID) |
Called when the animation is canceled. | |
Base class for all callback functors for when an animation is started, updates, or ends. Derive from this class to make a custom observer with its own state data.
|
inlinevirtual |
Called when the animation completes
Reimplemented in disti::GlsAnimationObserver.
|
inlinevirtual |
Called when the animation starts
Reimplemented in disti::GlsAnimationObserver.