![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Implements a collection of animation actions. More...
#include <CzActionsAnimation.h>
Public Types | |
enum | eActionType { Action_PlayTimeline = 0, Action_StopTimeline = 1, Action_PauseTimeline = 2, Action_SetTimeline = 3, Action_Max = 4 } |
Public Member Functions | |
CzXomlActions_Animation (eActionType type) | |
void | Execute (IzXomlResource *source, CzAction *action) |
The main actions executor for animations. All animation specific actions are implemented by this method. | |
Protected Member Functions | |
CzXomlActions_Animation () | |
Protected Attributes | |
eActionType | Type |
Implements a collection of animation actions.
The CzXomlActions_Animation class holds Actions (IzXomlAction) that can be carried out on Animation Timelines (CzAnimTimeline). An action is basically a command that tells the animation to do something such as play or pause. For example the PauseTimeline tells the animation timeline to pause playback.
The following actions are supported:
The above actions have the following XOML prototypes:
For more information on the animation system see CzAnim
CzXomlActions_Animation::CzXomlActions_Animation | ( | ) | [inline, protected] |
CzXomlActions_Animation::CzXomlActions_Animation | ( | eActionType | type | ) | [inline] |
void CzXomlActions_Animation::Execute | ( | IzXomlResource * | source, |
CzAction * | action | ||
) | [virtual] |
The main actions executor for animations. All animation specific actions are implemented by this method.
[in] | source | - The source of the action |
[in] | action | - The action to execute |
Implements IzXomlAction.
eActionType CzXomlActions_Animation::Type [protected] |