#include <spine/Event.h>
Classes | |
struct | spAnimation |
struct | spTimeline |
struct | spCurveTimeline |
struct | spRotateTimeline |
struct | spColorTimeline |
struct | spAttachmentTimeline |
struct | spEventTimeline |
struct | spDrawOrderTimeline |
Typedefs | |
typedef struct spBaseTimeline | spTranslateTimeline |
typedef struct spBaseTimeline | spScaleTimeline |
Enumerations | |
enum | spTimelineType { TIMELINE_SCALE, TIMELINE_ROTATE, TIMELINE_TRANLATE, TIMELINE_COLOR, TIMELINE_ATTACHMENT, TIMELINE_EVENT, TIMELINE_DRAWORDER } |
Functions | |
spAnimation * | (const char *name, int timelineCount) |
var | ( var name, var timelineCount) |
local | ( local name, local timelineCount) |
void | (spAnimation *self) |
void | (const spAnimation *self, struct spSkeleton *skeleton, float lastTime, float time, int loop, spEvent **events, int *eventCount) |
Poses the skeleton at the specified time for this animation. More... | |
void | (const spAnimation *self, struct spSkeleton *skeleton, float lastTime, float time, int loop, spEvent **events, int *eventCount, float alpha) |
Poses the skeleton at the specified time for this animation mixed with the current pose. More... | |
void | (spTimeline *self) |
void | (const spTimeline *self, struct spSkeleton *skeleton, float lastTime, float time, spEvent **firedEvents, int *eventCount, float alpha) |
void | (spCurveTimeline *self, int frameIndex) |
void | (spCurveTimeline *self, int frameIndex) |
void | (spCurveTimeline *self, int frameIndex, float cx1, float cy1, float cx2, float cy2) |
float | (const spCurveTimeline *self, int frameIndex, float percent) |
spRotateTimeline * | (int frameCount) |
void | (spRotateTimeline *self, int frameIndex, float time, float angle) |
spTranslateTimeline * | (int frameCount) |
void | (spTranslateTimeline *self, int frameIndex, float time, float x, float y) |
spScaleTimeline * | (int frameCount) |
void | (spScaleTimeline *self, int frameIndex, float time, float x, float y) |
spColorTimeline * | (int frameCount) |
void | (spColorTimeline *self, int frameIndex, float time, float r, float g, float b, float a) |
spAttachmentTimeline * | (int frameCount) |
void | (spAttachmentTimeline *self, int frameIndex, float time, const char *attachmentName) |
var | ( var self, var frameIndex, var time, var attachmentName) |
local | ( local self, local frameIndex, local time, local attachmentName) |
spEventTimeline * | (int frameCount) |
var | ( var frameCount) |
local | ( local frameCount) |
void | (spEventTimeline *self, int frameIndex, float time, spEvent *event) |
spDrawOrderTimeline * | (int frameCount, int slotCount) |
void | (spDrawOrderTimeline *self, int frameIndex, float time, const int *drawOrder) |
typedef struct spBaseTimeline spScaleTimeline |
var spScaleTimeline |
local spScaleTimeline |
typedef struct spBaseTimeline spTranslateTimeline |
local spTranslateTimeline |
enum spTimelineType |
var spTimelineType |
local spTimelineType |
spAnimation* spAnimation_create | ( | const char * | name, |
int | timelineCount | ||
) |
var spAnimation_create | ( | var | name, |
var | timelineCount | ||
) |
local spAnimation_create | ( | local | name, |
local | timelineCount | ||
) |
void spAnimation_dispose | ( | spAnimation * | self) |
var spAnimation_dispose | ( | var | self) |
local spAnimation_dispose | ( | local | self) |
void spAnimation_apply | ( | const spAnimation * | self, |
struct spSkeleton * | skeleton, | ||
float | lastTime, | ||
float | time, | ||
int | loop, | ||
spEvent ** | events, | ||
int * | eventCount | ||
) |
Poses the skeleton at the specified time for this animation.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
var spAnimation_apply | ( | var | self, |
var | skeleton, | ||
var | lastTime, | ||
var | time, | ||
var | loop, | ||
var | events, | ||
var | eventCount | ||
) |
Poses the skeleton at the specified time for this animation.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
local spAnimation_apply | ( | local | self, |
local | skeleton, | ||
local | lastTime, | ||
local | time, | ||
local | loop, | ||
local | events, | ||
local | eventCount | ||
) |
Poses the skeleton at the specified time for this animation.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
void spAnimation_mix | ( | const spAnimation * | self, |
struct spSkeleton * | skeleton, | ||
float | lastTime, | ||
float | time, | ||
int | loop, | ||
spEvent ** | events, | ||
int * | eventCount, | ||
float | alpha | ||
) |
Poses the skeleton at the specified time for this animation mixed with the current pose.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
alpha | The amount of this animation that affects the current pose. |
var spAnimation_mix | ( | var | self, |
var | skeleton, | ||
var | lastTime, | ||
var | time, | ||
var | loop, | ||
var | events, | ||
var | eventCount, | ||
var | alpha | ||
) |
Poses the skeleton at the specified time for this animation mixed with the current pose.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
alpha | The amount of this animation that affects the current pose. |
local spAnimation_mix | ( | local | self, |
local | skeleton, | ||
local | lastTime, | ||
local | time, | ||
local | loop, | ||
local | events, | ||
local | eventCount, | ||
local | alpha | ||
) |
Poses the skeleton at the specified time for this animation mixed with the current pose.
lastTime | The last time the animation was applied. |
events | Any triggered events are added. |
alpha | The amount of this animation that affects the current pose. |
void spTimeline_dispose | ( | spTimeline * | self) |
var spTimeline_dispose | ( | var | self) |
local spTimeline_dispose | ( | local | self) |
void spTimeline_apply | ( | const spTimeline * | self, |
struct spSkeleton * | skeleton, | ||
float | lastTime, | ||
float | time, | ||
spEvent ** | firedEvents, | ||
int * | eventCount, | ||
float | alpha | ||
) |
var spTimeline_apply | ( | var | self, |
var | skeleton, | ||
var | lastTime, | ||
var | time, | ||
var | firedEvents, | ||
var | eventCount, | ||
var | alpha | ||
) |
local spTimeline_apply | ( | local | self, |
local | skeleton, | ||
local | lastTime, | ||
local | time, | ||
local | firedEvents, | ||
local | eventCount, | ||
local | alpha | ||
) |
void spCurveTimeline_setLinear | ( | spCurveTimeline * | self, |
int | frameIndex | ||
) |
var spCurveTimeline_setLinear | ( | var | self, |
var | frameIndex | ||
) |
local spCurveTimeline_setLinear | ( | local | self, |
local | frameIndex | ||
) |
void spCurveTimeline_setStepped | ( | spCurveTimeline * | self, |
int | frameIndex | ||
) |
var spCurveTimeline_setStepped | ( | var | self, |
var | frameIndex | ||
) |
local spCurveTimeline_setStepped | ( | local | self, |
local | frameIndex | ||
) |
void spCurveTimeline_setCurve | ( | spCurveTimeline * | self, |
int | frameIndex, | ||
float | cx1, | ||
float | cy1, | ||
float | cx2, | ||
float | cy2 | ||
) |
var spCurveTimeline_setCurve | ( | var | self, |
var | frameIndex, | ||
var | cx1, | ||
var | cy1, | ||
var | cx2, | ||
var | cy2 | ||
) |
local spCurveTimeline_setCurve | ( | local | self, |
local | frameIndex, | ||
local | cx1, | ||
local | cy1, | ||
local | cx2, | ||
local | cy2 | ||
) |
float spCurveTimeline_getCurvePercent |
( | const spCurveTimeline * | self, |
int | frameIndex, | ||
float | percent | ||
) |
var spCurveTimeline_getCurvePercent | ( | var | self, |
var | frameIndex, | ||
var | percent | ||
) |
local spCurveTimeline_getCurvePercent |
( | local | self, |
local | frameIndex, | ||
local | percent | ||
) |
spRotateTimeline* spRotateTimeline_create |
( | int | frameCount) |
var spRotateTimeline_create | ( | var | frameCount) |
local spRotateTimeline_create | ( | local | frameCount) |
void spRotateTimeline_setFrame | ( | spRotateTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
float | angle | ||
) |
var spRotateTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | angle | ||
) |
local spRotateTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | angle | ||
) |
spTranslateTimeline* spTranslateTimeline_create |
( | int | frameCount) |
var spTranslateTimeline_create | ( | var | frameCount) |
local spTranslateTimeline_create | ( | local | frameCount) |
void spTranslateTimeline_setFrame | ( | spTranslateTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
float | x, | ||
float | y | ||
) |
var spTranslateTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | x, | ||
var | y | ||
) |
local spTranslateTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | x, | ||
local | y | ||
) |
spScaleTimeline* spScaleTimeline_create |
( | int | frameCount) |
var spScaleTimeline_create | ( | var | frameCount) |
local spScaleTimeline_create | ( | local | frameCount) |
void spScaleTimeline_setFrame | ( | spScaleTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
float | x, | ||
float | y | ||
) |
var spScaleTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | x, | ||
var | y | ||
) |
local spScaleTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | x, | ||
local | y | ||
) |
spColorTimeline* spColorTimeline_create |
( | int | frameCount) |
var spColorTimeline_create | ( | var | frameCount) |
local spColorTimeline_create | ( | local | frameCount) |
void spColorTimeline_setFrame | ( | spColorTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
float | r, | ||
float | g, | ||
float | b, | ||
float | a | ||
) |
var spColorTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | r, | ||
var | g, | ||
var | b, | ||
var | a | ||
) |
local spColorTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | r, | ||
local | g, | ||
local | b, | ||
local | a | ||
) |
spAttachmentTimeline* spAttachmentTimeline_create |
( | int | frameCount) |
var spAttachmentTimeline_create | ( | var | frameCount) |
local spAttachmentTimeline_create | ( | local | frameCount) |
void spAttachmentTimeline_setFrame | ( | spAttachmentTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
const char * | attachmentName | ||
) |
var spAttachmentTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | attachmentName | ||
) |
local spAttachmentTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | attachmentName | ||
) |
spEventTimeline* spEventTimeline_create |
( | int | frameCount) |
var spEventTimeline_create | ( | var | frameCount) |
local spEventTimeline_create | ( | local | frameCount) |
void spEventTimeline_setFrame | ( | spEventTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
spEvent * | event | ||
) |
var spEventTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | event | ||
) |
local spEventTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | event | ||
) |
spDrawOrderTimeline* spDrawOrderTimeline_create |
( | int | frameCount, |
int | slotCount | ||
) |
var spDrawOrderTimeline_create | ( | var | frameCount, |
var | slotCount | ||
) |
local spDrawOrderTimeline_create | ( | local | frameCount, |
local | slotCount | ||
) |
void spDrawOrderTimeline_setFrame | ( | spDrawOrderTimeline * | self, |
int | frameIndex, | ||
float | time, | ||
const int * | drawOrder | ||
) |
var spDrawOrderTimeline_setFrame | ( | var | self, |
var | frameIndex, | ||
var | time, | ||
var | drawOrder | ||
) |
local spDrawOrderTimeline_setFrame | ( | local | self, |
local | frameIndex, | ||
local | time, | ||
local | drawOrder | ||
) |