![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Animation utility class. More...
#include <CzAnim.h>
Static Public Member Functions | |
| static CzAnim * | CreateFloatAnim (const char *name, float source, float target, float duration, CzAnimFrame::eAnimEase easing, int category=0) |
| static CzAnim * | CreateVec2Anim (const char *name, const CzVec2 &source, const CzVec2 &target, float duration, CzAnimFrame::eAnimEase easing, int category=0) |
| static CzAnim * | CreateVec3Anim (const char *name, const CzVec3 &source, const CzVec3 &target, float duration, CzAnimFrame::eAnimEase easing, int category=0) |
| static CzAnim * | CreateVec4Anim (const char *name, const CzVec4 &source, const CzVec4 &target, float duration, CzAnimFrame::eAnimEase easing, int category=0) |
| static CzAnim * | CreateRectAnim (const char *name, const CzIRect &source, const CzIRect &target, float duration, CzAnimFrame::eAnimEase easing, int category=0) |
| static CzAnimTimeline * | CreateTimeline (const char *name, CzAnim *anim, IzAnimTarget *target, const char *target_property, int repeat=1, bool delta=false, float start_at_time=0, bool interpolate=true) |
Animation utility class.
Static utility methods that can be used to create simple animations.
| CzAnim * CzAnimUtil::CreateFloatAnim | ( | const char * | name, |
| float | source, | ||
| float | target, | ||
| float | duration, | ||
| CzAnimFrame::eAnimEase | easing, | ||
| int | category = 0 |
||
| ) | [static] |
| CzAnim * CzAnimUtil::CreateRectAnim | ( | const char * | name, |
| const CzIRect & | source, | ||
| const CzIRect & | target, | ||
| float | duration, | ||
| CzAnimFrame::eAnimEase | easing, | ||
| int | category = 0 |
||
| ) | [static] |
| CzAnimTimeline * CzAnimUtil::CreateTimeline | ( | const char * | name, |
| CzAnim * | anim, | ||
| IzAnimTarget * | target, | ||
| const char * | target_property, | ||
| int | repeat = 1, |
||
| bool | delta = false, |
||
| float | start_at_time = 0, |
||
| bool | interpolate = true |
||
| ) | [static] |
| CzAnim * CzAnimUtil::CreateVec2Anim | ( | const char * | name, |
| const CzVec2 & | source, | ||
| const CzVec2 & | target, | ||
| float | duration, | ||
| CzAnimFrame::eAnimEase | easing, | ||
| int | category = 0 |
||
| ) | [static] |
| CzAnim * CzAnimUtil::CreateVec3Anim | ( | const char * | name, |
| const CzVec3 & | source, | ||
| const CzVec3 & | target, | ||
| float | duration, | ||
| CzAnimFrame::eAnimEase | easing, | ||
| int | category = 0 |
||
| ) | [static] |
| CzAnim * CzAnimUtil::CreateVec4Anim | ( | const char * | name, |
| const CzVec4 & | source, | ||
| const CzVec4 & | target, | ||
| float | duration, | ||
| CzAnimFrame::eAnimEase | easing, | ||
| int | category = 0 |
||
| ) | [static] |