AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzAnimFrame Struct Reference

Animation frame data. More...

#include <CzAnim.h>

Inheritance diagram for CzAnimFrame:
CzAnimFrameBool CzAnimFrameFloat CzAnimFrameRect CzAnimFrameString CzAnimFrameVec2 CzAnimFrameVec3 CzAnimFrameVec4

List of all members.

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.

Detailed Description

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.


Member Enumeration Documentation

Values that represent different types of easing functions.

Enumerator:
AT_Linear 
AT_QuadIn 
AT_QuadOut 
AT_CubicIn 
AT_CubicOut 
AT_QuarticIn 
AT_QuarticOut 

Values that represent different types of animations.

Enumerator:
FT_Invalid 
FT_Bool 
FT_Float 
FT_Vec2 
FT_Vec3 
FT_Vec4 
FT_Rect 
FT_String 
FT_Custom 

Constructor & Destructor Documentation

virtual CzAnimFrame::~CzAnimFrame ( ) [inline, virtual]

Member Function Documentation

Sets the animation frames easing method.

Parameters:
effectThe easing method.

Member Data Documentation

Time at which this frame should be active.


The documentation for this struct was generated from the following files: