SIO2objectanimation Struct Reference

#include <sio2_object.h>

Collaboration diagram for SIO2objectanimation:

Collaboration graph
[legend]

List of all members.

Public Attributes

unsigned char loop
 Where or not the current animation should loop.
unsigned char next_action
 Determine whether or not we are interpolating between 2 actions.
float t_ratio
 The time ratio between each frame.
float d_time
 The current delta time of the animation.
float interp
 The interpolation value between the 2 frames.
float fps
 The number of FPS that the animation should run.
SIO2action_SIO2action
 The current SIO2action associated to the SIO2objectanimation.
SIO2frame_SIO2frame1
 The current SIO2frame pointer.
SIO2frame_SIO2frame2
 The next SIO2frame pointer.
unsigned int curr_frame
 The current frame index.
unsigned int next_frame
 The next frame index.
unsigned char state
 The current state of the animation.


Member Data Documentation

Where or not the current animation should loop.

Referenced by sio2ObjectPlay(), and sio2ObjectRenderAction().

Determine whether or not we are interpolating between 2 actions.

Referenced by sio2ObjectNextAction(), and sio2ObjectRenderAction().

The time ratio between each frame.

Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), and sio2ObjectUpdateTimeRatio().

The current delta time of the animation.

Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), sio2ObjectStop(), and sio2ObjectUpdateTimeRatio().

The interpolation value between the 2 frames.

Referenced by sio2ObjectNextAction(), sio2ObjectRenderAction(), and sio2ObjectSetAction().

The number of FPS that the animation should run.

Referenced by sio2ObjectNextAction(), sio2ObjectSetAction(), and sio2ObjectUpdateTimeRatio().

The current state of the animation.

Can be one of the following values:

SIO2_PLAY
SIO2_PAUSE
SIO2_STOP

Referenced by sio2ObjectPause(), sio2ObjectPlay(), sio2ObjectRenderAction(), and sio2ObjectStop().


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

Generated on Thu Mar 4 15:41:52 2010 for SIO2 Engine by  doxygen 1.5.6