AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Animation frame data. More...
#include <CzAnim.h>
Public Types | |
enum | eAnimType { FT_Invalid, FT_Bool, FT_Float, FT_Vec2, FT_Vec3, FT_Vec4, FT_Rect, FT_String, FT_Custom } |
Values that represent different types of animations. More... | |
enum | eAnimEase { AT_Linear, AT_QuadIn, AT_QuadOut, AT_CubicIn, AT_CubicOut, AT_QuarticIn, AT_QuarticOut } |
Values that represent different types of easing functions. More... | |
Public Member Functions | |
CzAnimFrame () | |
virtual | ~CzAnimFrame () |
void | setEasing (eAnimEase effect) |
Sets the animation frames easing method. | |
Public Attributes | |
float | Time |
Time at which this frame should be active. | |
CzTweenEffect | EasingFunc |
Easing function. |
Animation frame data.
Base class of specific animation frame data types:
A CzAnim is built from a number of these key frames. A key frame is the state of a property of the animations target at a specific point in time.
CzAnimFrame::CzAnimFrame | ( | ) | [inline] |
virtual CzAnimFrame::~CzAnimFrame | ( | ) | [inline, virtual] |
void CzAnimFrame::setEasing | ( | eAnimEase | effect | ) |
Sets the animation frames easing method.
effect | The easing method. |
Easing function.
float CzAnimFrame::Time |
Time at which this frame should be active.