Classes | |
| struct | spAnimation |
| struct | spTimeline |
| struct | spCurveTimeline |
| struct | spRotateTimeline |
| struct | spColorTimeline |
| struct | spAttachmentTimeline |
| struct | spEventTimeline |
| struct | spDrawOrderTimeline |
| struct | spFFDTimeline |
| struct | spIkConstraintTimeline |
Typedefs | |
| typedef struct spBaseTimeline | spTranslateTimeline |
| typedef struct spBaseTimeline | spScaleTimeline |
Functions | |
| spAnimation * | (const char *name, int timelinesCount) |
| void | (spAnimation *self) |
| void | (const spAnimation *self, struct spSkeleton *skeleton, float lastTime, float time, int loop, spEvent **events, int *eventsCount) |
| 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 *eventsCount, 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 *eventsCount, 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 framesCount) |
| void | (spRotateTimeline *self, int frameIndex, float time, float angle) |
| var | ( var self, var frameIndex, var time, var angle) |
| local | ( local self, local frameIndex, local time, local angle) |
| spTranslateTimeline * | (int framesCount) |
| void | (spTranslateTimeline *self, int frameIndex, float time, float x, float y) |
| spScaleTimeline * | (int framesCount) |
| void | (spScaleTimeline *self, int frameIndex, float time, float x, float y) |
| spColorTimeline * | (int framesCount) |
| void | (spColorTimeline *self, int frameIndex, float time, float r, float g, float b, float a) |
| spAttachmentTimeline * | (int framesCount) |
| void | (spAttachmentTimeline *self, int frameIndex, float time, const char *attachmentName) |
| spEventTimeline * | (int framesCount) |
| void | (spEventTimeline *self, int frameIndex, float time, spEvent *event) |
| var | ( var self, var frameIndex, var time, var event) |
| local | ( local self, local frameIndex, local time, local event) |
| spDrawOrderTimeline * | (int framesCount, int slotsCount) |
| void | (spDrawOrderTimeline *self, int frameIndex, float time, const int *drawOrder) |
| spFFDTimeline * | (int framesCount, int frameVerticesCount) |
| void | (spFFDTimeline *self, int frameIndex, float time, float *vertices) |
| spIkConstraintTimeline * | (int framesCount) |
| void | (spIkConstraintTimeline *self, int frameIndex, float time, float mix, int bendDirection) |
| var | ( var self, var frameIndex, var time, var mix, var bendDirection) |
| local | ( local self, local frameIndex, local time, local mix, local bendDirection) |
| 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 | timelinesCount | ||
| ) |
| var spAnimation_create | ( | var | name, |
| var | timelinesCount | ||
| ) |
| local spAnimation_create | ( | local | name, |
| local | timelinesCount | ||
| ) |
| 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 * | eventsCount | ||
| ) |
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 | eventsCount | ||
| ) |
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 | eventsCount | ||
| ) |
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 * | eventsCount, | ||
| 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 | eventsCount, | ||
| 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 | eventsCount, | ||
| 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 * | eventsCount, | ||
| float | alpha | ||
| ) |
| var spTimeline_apply | ( | var | self, |
| var | skeleton, | ||
| var | lastTime, | ||
| var | time, | ||
| var | firedEvents, | ||
| var | eventsCount, | ||
| var | alpha | ||
| ) |
| local spTimeline_apply | ( | local | self, |
| local | skeleton, | ||
| local | lastTime, | ||
| local | time, | ||
| local | firedEvents, | ||
| local | eventsCount, | ||
| 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 | framesCount | ) |
| var spRotateTimeline_create | ( | var | framesCount | ) |
| local spRotateTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount | ) |
| var spTranslateTimeline_create | ( | var | framesCount | ) |
| local spTranslateTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount | ) |
| var spScaleTimeline_create | ( | var | framesCount | ) |
| local spScaleTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount | ) |
| var spColorTimeline_create | ( | var | framesCount | ) |
| local spColorTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount | ) |
| var spAttachmentTimeline_create | ( | var | framesCount | ) |
| local spAttachmentTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount | ) |
| var spEventTimeline_create | ( | var | framesCount | ) |
| local spEventTimeline_create | ( | local | framesCount | ) |
| 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 | framesCount, |
| int | slotsCount | ||
| ) |
| var spDrawOrderTimeline_create | ( | var | framesCount, |
| var | slotsCount | ||
| ) |
| local spDrawOrderTimeline_create | ( | local | framesCount, |
| local | slotsCount | ||
| ) |
| 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 | ||
| ) |
| spFFDTimeline* spFFDTimeline_create | ( | int | framesCount, |
| int | frameVerticesCount | ||
| ) |
| var spFFDTimeline_create | ( | var | framesCount, |
| var | frameVerticesCount | ||
| ) |
| local spFFDTimeline_create | ( | local | framesCount, |
| local | frameVerticesCount | ||
| ) |
| void spFFDTimeline_setFrame | ( | spFFDTimeline * | self, |
| int | frameIndex, | ||
| float | time, | ||
| float * | vertices | ||
| ) |
| var spFFDTimeline_setFrame | ( | var | self, |
| var | frameIndex, | ||
| var | time, | ||
| var | vertices | ||
| ) |
| local spFFDTimeline_setFrame | ( | local | self, |
| local | frameIndex, | ||
| local | time, | ||
| local | vertices | ||
| ) |
| spIkConstraintTimeline* spIkConstraintTimeline_create |
( | int | framesCount | ) |
| var spIkConstraintTimeline_create | ( | var | framesCount | ) |
| local spIkConstraintTimeline_create | ( | local | framesCount | ) |
| void spIkConstraintTimeline_setFrame |
( | spIkConstraintTimeline * | self, |
| int | frameIndex, | ||
| float | time, | ||
| float | mix, | ||
| int | bendDirection | ||
| ) |
| var spIkConstraintTimeline_setFrame | ( | var | self, |
| var | frameIndex, | ||
| var | time, | ||
| var | mix, | ||
| var | bendDirection | ||
| ) |
| local spIkConstraintTimeline_setFrame |
( | local | self, |
| local | frameIndex, | ||
| local | time, | ||
| local | mix, | ||
| local | bendDirection | ||
| ) |