mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 19:11:36 +08:00
[cpp] pEvents -> events, extensions for BonePose and Skeleton returning spine_vector.
This commit is contained in:
parent
f6fbbabd6b
commit
83f5bd0e0a
@ -496,10 +496,50 @@ spine_skin_entries spine_skin_get_entries(spine_skin skin) {
|
||||
|
||||
// Skeleton bounds function
|
||||
spine_bounds spine_skeleton_get_bounds(spine_skeleton skeleton) {
|
||||
spine_bounds bounds = {0, 0, 0, 0};
|
||||
if (!skeleton) return bounds;
|
||||
|
||||
Skeleton *_skeleton = (Skeleton *) skeleton;
|
||||
_skeleton->getBounds(bounds.x, bounds.y, bounds.width, bounds.height);
|
||||
return bounds;
|
||||
spine_bounds bounds = {0, 0, 0, 0};
|
||||
if (!skeleton) return bounds;
|
||||
|
||||
Skeleton *_skeleton = (Skeleton *) skeleton;
|
||||
_skeleton->getBounds(bounds.x, bounds.y, bounds.width, bounds.height);
|
||||
return bounds;
|
||||
}
|
||||
|
||||
spine_vector spine_skeleton_get_position_v(spine_skeleton skeleton) {
|
||||
if (!skeleton) return {0, 0};
|
||||
Skeleton *_skeleton = (Skeleton *) skeleton;
|
||||
float x, y;
|
||||
_skeleton->getPosition(x, y);
|
||||
return {x, y};
|
||||
}
|
||||
|
||||
spine_vector spine_bone_pose_world_to_local_v(spine_bone_pose self, float world_x, float world_y) {
|
||||
if (!self) return {0, 0};
|
||||
BonePose *_self = (BonePose *) self;
|
||||
float localX, localY;
|
||||
_self->worldToLocal(world_x, world_y, localX, localY);
|
||||
return {localX, localY};
|
||||
}
|
||||
|
||||
spine_vector spine_bone_pose_local_to_world_v(spine_bone_pose self, float local_x, float local_y) {
|
||||
if (!self) return {0, 0};
|
||||
BonePose *_self = (BonePose *) self;
|
||||
float worldX, worldY;
|
||||
_self->localToWorld(local_x, local_y, worldX, worldY);
|
||||
return {worldX, worldY};
|
||||
}
|
||||
|
||||
spine_vector spine_bone_pose_world_to_parent_v(spine_bone_pose self, float world_x, float world_y) {
|
||||
if (!self) return {0, 0};
|
||||
BonePose *_self = (BonePose *) self;
|
||||
float parentX, parentY;
|
||||
_self->worldToParent(world_x, world_y, parentX, parentY);
|
||||
return {parentX, parentY};
|
||||
}
|
||||
|
||||
spine_vector spine_bone_pose_parent_to_world_v(spine_bone_pose self, float parent_x, float parent_y) {
|
||||
if (!self) return {0, 0};
|
||||
BonePose *_self = (BonePose *) self;
|
||||
float worldX, worldY;
|
||||
_self->parentToWorld(parent_x, parent_y, worldX, worldY);
|
||||
return {worldX, worldY};
|
||||
}
|
||||
@ -30,6 +30,7 @@
|
||||
#ifndef SPINE_C_EXTENSIONS_H
|
||||
#define SPINE_C_EXTENSIONS_H
|
||||
|
||||
#include "generated/bone_pose.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -47,6 +48,20 @@ SPINE_OPAQUE_TYPE(spine_skin_entry)
|
||||
SPINE_OPAQUE_TYPE(spine_skin_entries)
|
||||
SPINE_OPAQUE_TYPE(spine_texture_loader)
|
||||
|
||||
// Bounds struct
|
||||
typedef struct spine_bounds {
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
} spine_bounds;
|
||||
|
||||
// Vector struct
|
||||
typedef struct spine_vector {
|
||||
float x;
|
||||
float y;
|
||||
} spine_vector;
|
||||
|
||||
// Additional types
|
||||
typedef void *spine_void;
|
||||
typedef void (*spine_dispose_renderer_object)(void *);
|
||||
@ -106,16 +121,15 @@ SPINE_C_API int32_t spine_skin_entry_get_slot_index(spine_skin_entry entry);
|
||||
SPINE_C_API const char *spine_skin_entry_get_name(spine_skin_entry entry);
|
||||
SPINE_C_API spine_attachment spine_skin_entry_get_attachment(spine_skin_entry entry);
|
||||
|
||||
// Bounds struct
|
||||
typedef struct spine_bounds {
|
||||
float x;
|
||||
float y;
|
||||
float width;
|
||||
float height;
|
||||
} spine_bounds;
|
||||
|
||||
// Skeleton bounds function
|
||||
// Skeleton functions
|
||||
SPINE_C_API spine_bounds spine_skeleton_get_bounds(spine_skeleton skeleton);
|
||||
SPINE_C_API spine_vector spine_skeleton_get_position_v(spine_skeleton skeleton);
|
||||
|
||||
// BonePose functions
|
||||
SPINE_C_API spine_vector spine_bone_pose_world_to_local_v(spine_bone_pose self, float world_x, float world_y);
|
||||
SPINE_C_API spine_vector spine_bone_pose_local_to_world_v(spine_bone_pose self, float local_x, float local_y);
|
||||
SPINE_C_API spine_vector spine_bone_pose_world_to_parent_v(spine_bone_pose self, float world_x, float world_y);
|
||||
SPINE_C_API spine_vector spine_bone_pose_parent_to_world_v(spine_bone_pose self, float parent_x, float parent_y);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_alpha_timeline_get_rtti(spine_alpha_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_alpha_timeline_apply(spine_alpha_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_alpha_timeline_apply(spine_alpha_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
AlphaTimeline *_self = (AlphaTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_alpha_timeline_get_slot_index(spine_alpha_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_alpha_timeline_dispose(spine_alpha_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_alpha_timeline_get_rtti(spine_alpha_timeline self);
|
||||
SPINE_C_API void spine_alpha_timeline_apply(spine_alpha_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_alpha_timeline_get_slot_index(spine_alpha_timeline self);
|
||||
SPINE_C_API void spine_alpha_timeline_set_slot_index(spine_alpha_timeline self, int inValue);
|
||||
|
||||
@ -36,10 +36,10 @@ void spine_animation_set_duration(spine_animation self, float inValue) {
|
||||
_self->setDuration(inValue);
|
||||
}
|
||||
|
||||
void spine_animation_apply(spine_animation self, spine_skeleton skeleton, float lastTime, float time, bool loop, /*@null*/ spine_array_event pEvents,
|
||||
void spine_animation_apply(spine_animation self, spine_skeleton skeleton, float lastTime, float time, bool loop, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
Animation *_self = (Animation *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, loop, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, loop, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
}
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ SPINE_C_API bool spine_animation_has_timeline(spine_animation self, spine_array_
|
||||
SPINE_C_API float spine_animation_get_duration(spine_animation self);
|
||||
SPINE_C_API void spine_animation_set_duration(spine_animation self, float inValue);
|
||||
SPINE_C_API void spine_animation_apply(spine_animation self, spine_skeleton skeleton, float lastTime, float time, bool loop,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API const char *spine_animation_get_name(spine_animation self);
|
||||
SPINE_C_API spine_array_int spine_animation_get_bones(spine_animation self);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_attachment_timeline_get_rtti(spine_attachment_timeline self) {
|
||||
}
|
||||
|
||||
void spine_attachment_timeline_apply(spine_attachment_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
AttachmentTimeline *_self = (AttachmentTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char *attachmentName) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_attachment_timeline_dispose(spine_attachment_timeline sel
|
||||
|
||||
SPINE_C_API spine_rtti spine_attachment_timeline_get_rtti(spine_attachment_timeline self);
|
||||
SPINE_C_API void spine_attachment_timeline_apply(spine_attachment_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API void spine_attachment_timeline_set_frame(spine_attachment_timeline self, int frame, float time, const char *attachmentName);
|
||||
SPINE_C_API int spine_attachment_timeline_get_slot_index(spine_attachment_timeline self);
|
||||
|
||||
@ -12,11 +12,10 @@ spine_rtti spine_bone_timeline1_get_rtti(spine_bone_timeline1 self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_bone_timeline1_apply(spine_bone_timeline1 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_bone_timeline1_apply(spine_bone_timeline1 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_bone_timeline1_get_bone_index(spine_bone_timeline1 self) {
|
||||
|
||||
@ -13,7 +13,7 @@ SPINE_C_API void spine_bone_timeline1_dispose(spine_bone_timeline1 self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_bone_timeline1_get_rtti(spine_bone_timeline1 self);
|
||||
SPINE_C_API void spine_bone_timeline1_apply(spine_bone_timeline1 self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_bone_timeline1_get_bone_index(spine_bone_timeline1 self);
|
||||
SPINE_C_API void spine_bone_timeline1_set_bone_index(spine_bone_timeline1 self, int inValue);
|
||||
|
||||
@ -12,11 +12,10 @@ spine_rtti spine_bone_timeline2_get_rtti(spine_bone_timeline2 self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_bone_timeline2_apply(spine_bone_timeline2 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_bone_timeline2_apply(spine_bone_timeline2 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
BoneTimeline2 *_self = (BoneTimeline2 *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_bone_timeline2_get_bone_index(spine_bone_timeline2 self) {
|
||||
|
||||
@ -13,7 +13,7 @@ SPINE_C_API void spine_bone_timeline2_dispose(spine_bone_timeline2 self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_bone_timeline2_get_rtti(spine_bone_timeline2 self);
|
||||
SPINE_C_API void spine_bone_timeline2_apply(spine_bone_timeline2 self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_bone_timeline2_get_bone_index(spine_bone_timeline2 self);
|
||||
SPINE_C_API void spine_bone_timeline2_set_bone_index(spine_bone_timeline2 self, int inValue);
|
||||
|
||||
@ -83,11 +83,10 @@ spine_array_float spine_constraint_timeline1_get_curves(spine_constraint_timelin
|
||||
}
|
||||
|
||||
void spine_constraint_timeline1_apply(spine_constraint_timeline1 self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
CurveTimeline1 *_self = (CurveTimeline1 *) (ConstraintTimeline1 *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_constraint_timeline1_get_frame_entries(spine_constraint_timeline1 self) {
|
||||
|
||||
@ -32,7 +32,7 @@ SPINE_C_API float spine_constraint_timeline1_get_bezier_value(spine_constraint_t
|
||||
size_t i);
|
||||
SPINE_C_API spine_array_float spine_constraint_timeline1_get_curves(spine_constraint_timeline1 self);
|
||||
SPINE_C_API void spine_constraint_timeline1_apply(spine_constraint_timeline1 self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API size_t spine_constraint_timeline1_get_frame_entries(spine_constraint_timeline1 self);
|
||||
SPINE_C_API size_t spine_constraint_timeline1_get_frame_count(spine_constraint_timeline1 self);
|
||||
|
||||
@ -38,11 +38,10 @@ spine_array_float spine_curve_timeline_get_curves(spine_curve_timeline self) {
|
||||
return (spine_array_float) &_self->getCurves();
|
||||
}
|
||||
|
||||
void spine_curve_timeline_apply(spine_curve_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_curve_timeline_apply(spine_curve_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
Timeline *_self = (Timeline *) (CurveTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_curve_timeline_get_frame_entries(spine_curve_timeline self) {
|
||||
|
||||
@ -19,7 +19,7 @@ SPINE_C_API void spine_curve_timeline_set_bezier(spine_curve_timeline self, size
|
||||
SPINE_C_API float spine_curve_timeline_get_bezier_value(spine_curve_timeline self, float time, size_t frame, size_t valueOffset, size_t i);
|
||||
SPINE_C_API spine_array_float spine_curve_timeline_get_curves(spine_curve_timeline self);
|
||||
SPINE_C_API void spine_curve_timeline_apply(spine_curve_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API size_t spine_curve_timeline_get_frame_entries(spine_curve_timeline self);
|
||||
SPINE_C_API size_t spine_curve_timeline_get_frame_count(spine_curve_timeline self);
|
||||
|
||||
@ -72,11 +72,10 @@ spine_array_float spine_curve_timeline1_get_curves(spine_curve_timeline1 self) {
|
||||
return (spine_array_float) &_self->getCurves();
|
||||
}
|
||||
|
||||
void spine_curve_timeline1_apply(spine_curve_timeline1 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_curve_timeline1_apply(spine_curve_timeline1 self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
CurveTimeline *_self = (CurveTimeline *) (CurveTimeline1 *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_curve_timeline1_get_frame_entries(spine_curve_timeline1 self) {
|
||||
|
||||
@ -29,7 +29,7 @@ SPINE_C_API void spine_curve_timeline1_set_bezier(spine_curve_timeline1 self, si
|
||||
SPINE_C_API float spine_curve_timeline1_get_bezier_value(spine_curve_timeline1 self, float time, size_t frame, size_t valueOffset, size_t i);
|
||||
SPINE_C_API spine_array_float spine_curve_timeline1_get_curves(spine_curve_timeline1 self);
|
||||
SPINE_C_API void spine_curve_timeline1_apply(spine_curve_timeline1 self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API size_t spine_curve_timeline1_get_frame_entries(spine_curve_timeline1 self);
|
||||
SPINE_C_API size_t spine_curve_timeline1_get_frame_count(spine_curve_timeline1 self);
|
||||
|
||||
@ -47,11 +47,10 @@ size_t spine_deform_timeline_get_frame_count(spine_deform_timeline self) {
|
||||
return _self->getFrameCount();
|
||||
}
|
||||
|
||||
void spine_deform_timeline_apply(spine_deform_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_deform_timeline_apply(spine_deform_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) (DeformTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_deform_timeline_get_slot_index(spine_deform_timeline self) {
|
||||
|
||||
@ -23,7 +23,7 @@ SPINE_C_API void spine_deform_timeline_set_bezier(spine_deform_timeline self, si
|
||||
SPINE_C_API float spine_deform_timeline_get_curve_percent(spine_deform_timeline self, float time, int frame);
|
||||
SPINE_C_API size_t spine_deform_timeline_get_frame_count(spine_deform_timeline self);
|
||||
SPINE_C_API void spine_deform_timeline_apply(spine_deform_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_deform_timeline_get_slot_index(spine_deform_timeline self);
|
||||
SPINE_C_API void spine_deform_timeline_set_slot_index(spine_deform_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_draw_order_timeline_get_rtti(spine_draw_order_timeline self) {
|
||||
}
|
||||
|
||||
void spine_draw_order_timeline_apply(spine_draw_order_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
DrawOrderTimeline *_self = (DrawOrderTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_draw_order_timeline_get_frame_count(spine_draw_order_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_draw_order_timeline_dispose(spine_draw_order_timeline sel
|
||||
|
||||
SPINE_C_API spine_rtti spine_draw_order_timeline_get_rtti(spine_draw_order_timeline self);
|
||||
SPINE_C_API void spine_draw_order_timeline_apply(spine_draw_order_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API size_t spine_draw_order_timeline_get_frame_count(spine_draw_order_timeline self);
|
||||
SPINE_C_API void spine_draw_order_timeline_set_frame(spine_draw_order_timeline self, size_t frame, float time, /*@null*/ spine_array_int drawOrder);
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_event_timeline_get_rtti(spine_event_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_event_timeline_apply(spine_event_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_event_timeline_apply(spine_event_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
EventTimeline *_self = (EventTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_event_timeline_get_frame_count(spine_event_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_event_timeline_dispose(spine_event_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_event_timeline_get_rtti(spine_event_timeline self);
|
||||
SPINE_C_API void spine_event_timeline_apply(spine_event_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API size_t spine_event_timeline_get_frame_count(spine_event_timeline self);
|
||||
SPINE_C_API spine_array_event spine_event_timeline_get_events(spine_event_timeline self);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_ik_constraint_timeline_get_rtti(spine_ik_constraint_timeline se
|
||||
}
|
||||
|
||||
void spine_ik_constraint_timeline_apply(spine_ik_constraint_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
IkConstraintTimeline *_self = (IkConstraintTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
void spine_ik_constraint_timeline_set_frame(spine_ik_constraint_timeline self, int frame, float time, float mix, float softness, int bendDirection,
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_ik_constraint_timeline_dispose(spine_ik_constraint_timeli
|
||||
|
||||
SPINE_C_API spine_rtti spine_ik_constraint_timeline_get_rtti(spine_ik_constraint_timeline self);
|
||||
SPINE_C_API void spine_ik_constraint_timeline_apply(spine_ik_constraint_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API void spine_ik_constraint_timeline_set_frame(spine_ik_constraint_timeline self, int frame, float time, float mix, float softness,
|
||||
int bendDirection, bool compress, bool stretch);
|
||||
|
||||
@ -22,11 +22,10 @@ void spine_inherit_timeline_set_frame(spine_inherit_timeline self, int frame, fl
|
||||
}
|
||||
|
||||
void spine_inherit_timeline_apply(spine_inherit_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
InheritTimeline *_self = (InheritTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_inherit_timeline_get_bone_index(spine_inherit_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_inherit_timeline_dispose(spine_inherit_timeline self);
|
||||
SPINE_C_API spine_rtti spine_inherit_timeline_get_rtti(spine_inherit_timeline self);
|
||||
SPINE_C_API void spine_inherit_timeline_set_frame(spine_inherit_timeline self, int frame, float time, spine_inherit inherit);
|
||||
SPINE_C_API void spine_inherit_timeline_apply(spine_inherit_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_inherit_timeline_get_bone_index(spine_inherit_timeline self);
|
||||
SPINE_C_API void spine_inherit_timeline_set_bone_index(spine_inherit_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_path_constraint_mix_timeline_get_rtti(spine_path_constraint_mix
|
||||
}
|
||||
|
||||
void spine_path_constraint_mix_timeline_apply(spine_path_constraint_mix_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
PathConstraintMixTimeline *_self = (PathConstraintMixTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
void spine_path_constraint_mix_timeline_set_frame(spine_path_constraint_mix_timeline self, int frame, float time, float mixRotate, float mixX,
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_path_constraint_mix_timeline_dispose(spine_path_constrain
|
||||
|
||||
SPINE_C_API spine_rtti spine_path_constraint_mix_timeline_get_rtti(spine_path_constraint_mix_timeline self);
|
||||
SPINE_C_API void spine_path_constraint_mix_timeline_apply(spine_path_constraint_mix_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API void spine_path_constraint_mix_timeline_set_frame(spine_path_constraint_mix_timeline self, int frame, float time, float mixRotate,
|
||||
float mixX, float mixY);
|
||||
|
||||
@ -18,11 +18,10 @@ spine_rtti spine_path_constraint_position_timeline_get_rtti(spine_path_constrain
|
||||
}
|
||||
|
||||
void spine_path_constraint_position_timeline_apply(spine_path_constraint_position_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PathConstraintPositionTimeline *_self = (PathConstraintPositionTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_path_constraint_position_timeline_get_constraint_index(spine_path_constraint_position_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_path_constraint_position_timeline_dispose(spine_path_cons
|
||||
|
||||
SPINE_C_API spine_rtti spine_path_constraint_position_timeline_get_rtti(spine_path_constraint_position_timeline self);
|
||||
SPINE_C_API void spine_path_constraint_position_timeline_apply(spine_path_constraint_position_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_path_constraint_position_timeline_get_constraint_index(spine_path_constraint_position_timeline self);
|
||||
SPINE_C_API void spine_path_constraint_position_timeline_set_constraint_index(spine_path_constraint_position_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_path_constraint_spacing_timeline_get_rtti(spine_path_constraint
|
||||
}
|
||||
|
||||
void spine_path_constraint_spacing_timeline_apply(spine_path_constraint_spacing_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PathConstraintSpacingTimeline *_self = (PathConstraintSpacingTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_path_constraint_spacing_timeline_get_constraint_index(spine_path_constraint_spacing_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_path_constraint_spacing_timeline_dispose(spine_path_const
|
||||
|
||||
SPINE_C_API spine_rtti spine_path_constraint_spacing_timeline_get_rtti(spine_path_constraint_spacing_timeline self);
|
||||
SPINE_C_API void spine_path_constraint_spacing_timeline_apply(spine_path_constraint_spacing_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_path_constraint_spacing_timeline_get_constraint_index(spine_path_constraint_spacing_timeline self);
|
||||
SPINE_C_API void spine_path_constraint_spacing_timeline_set_constraint_index(spine_path_constraint_spacing_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_damping_timeline_get_rtti(spine_physics_cons
|
||||
}
|
||||
|
||||
void spine_physics_constraint_damping_timeline_apply(spine_physics_constraint_damping_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintDampingTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_damping_timeline_get_constraint_index(spine_physics_constraint_damping_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_damping_timeline_dispose(spine_physics
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_damping_timeline_get_rtti(spine_physics_constraint_damping_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_damping_timeline_apply(spine_physics_constraint_damping_timeline self, spine_skeleton skeleton,
|
||||
float lastTime, float time, /*@null*/ spine_array_event pEvents, float alpha,
|
||||
float lastTime, float time, /*@null*/ spine_array_event events, float alpha,
|
||||
spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_damping_timeline_get_constraint_index(spine_physics_constraint_damping_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_damping_timeline_set_constraint_index(spine_physics_constraint_damping_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_gravity_timeline_get_rtti(spine_physics_cons
|
||||
}
|
||||
|
||||
void spine_physics_constraint_gravity_timeline_apply(spine_physics_constraint_gravity_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintGravityTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_gravity_timeline_get_constraint_index(spine_physics_constraint_gravity_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_gravity_timeline_dispose(spine_physics
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_gravity_timeline_get_rtti(spine_physics_constraint_gravity_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_gravity_timeline_apply(spine_physics_constraint_gravity_timeline self, spine_skeleton skeleton,
|
||||
float lastTime, float time, /*@null*/ spine_array_event pEvents, float alpha,
|
||||
float lastTime, float time, /*@null*/ spine_array_event events, float alpha,
|
||||
spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_gravity_timeline_get_constraint_index(spine_physics_constraint_gravity_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_gravity_timeline_set_constraint_index(spine_physics_constraint_gravity_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_inertia_timeline_get_rtti(spine_physics_cons
|
||||
}
|
||||
|
||||
void spine_physics_constraint_inertia_timeline_apply(spine_physics_constraint_inertia_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintInertiaTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_inertia_timeline_get_constraint_index(spine_physics_constraint_inertia_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_inertia_timeline_dispose(spine_physics
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_inertia_timeline_get_rtti(spine_physics_constraint_inertia_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_inertia_timeline_apply(spine_physics_constraint_inertia_timeline self, spine_skeleton skeleton,
|
||||
float lastTime, float time, /*@null*/ spine_array_event pEvents, float alpha,
|
||||
float lastTime, float time, /*@null*/ spine_array_event events, float alpha,
|
||||
spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_inertia_timeline_get_constraint_index(spine_physics_constraint_inertia_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_inertia_timeline_set_constraint_index(spine_physics_constraint_inertia_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_mass_timeline_get_rtti(spine_physics_constra
|
||||
}
|
||||
|
||||
void spine_physics_constraint_mass_timeline_apply(spine_physics_constraint_mass_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintMassTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_mass_timeline_get_constraint_index(spine_physics_constraint_mass_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_mass_timeline_dispose(spine_physics_co
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_mass_timeline_get_rtti(spine_physics_constraint_mass_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_mass_timeline_apply(spine_physics_constraint_mass_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_mass_timeline_get_constraint_index(spine_physics_constraint_mass_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_mass_timeline_set_constraint_index(spine_physics_constraint_mass_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_mix_timeline_get_rtti(spine_physics_constrai
|
||||
}
|
||||
|
||||
void spine_physics_constraint_mix_timeline_apply(spine_physics_constraint_mix_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintMixTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_mix_timeline_get_constraint_index(spine_physics_constraint_mix_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_mix_timeline_dispose(spine_physics_con
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_mix_timeline_get_rtti(spine_physics_constraint_mix_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_mix_timeline_apply(spine_physics_constraint_mix_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_mix_timeline_get_constraint_index(spine_physics_constraint_mix_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_mix_timeline_set_constraint_index(spine_physics_constraint_mix_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_physics_constraint_reset_timeline_get_rtti(spine_physics_constr
|
||||
}
|
||||
|
||||
void spine_physics_constraint_reset_timeline_apply(spine_physics_constraint_reset_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintResetTimeline *_self = (PhysicsConstraintResetTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_reset_timeline_get_frame_count(spine_physics_constraint_reset_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_physics_constraint_reset_timeline_dispose(spine_physics_c
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_reset_timeline_get_rtti(spine_physics_constraint_reset_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_reset_timeline_apply(spine_physics_constraint_reset_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_reset_timeline_get_frame_count(spine_physics_constraint_reset_timeline self);
|
||||
SPINE_C_API int spine_physics_constraint_reset_timeline_get_constraint_index(spine_physics_constraint_reset_timeline self);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_strength_timeline_get_rtti(spine_physics_con
|
||||
}
|
||||
|
||||
void spine_physics_constraint_strength_timeline_apply(spine_physics_constraint_strength_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintStrengthTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_strength_timeline_get_constraint_index(spine_physics_constraint_strength_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_strength_timeline_dispose(spine_physic
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_strength_timeline_get_rtti(spine_physics_constraint_strength_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_strength_timeline_apply(spine_physics_constraint_strength_timeline self, spine_skeleton skeleton,
|
||||
float lastTime, float time, /*@null*/ spine_array_event pEvents, float alpha,
|
||||
float lastTime, float time, /*@null*/ spine_array_event events, float alpha,
|
||||
spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_strength_timeline_get_constraint_index(spine_physics_constraint_strength_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_strength_timeline_set_constraint_index(spine_physics_constraint_strength_timeline self, int inValue);
|
||||
|
||||
@ -13,11 +13,10 @@ spine_rtti spine_physics_constraint_timeline_get_rtti(spine_physics_constraint_t
|
||||
}
|
||||
|
||||
void spine_physics_constraint_timeline_apply(spine_physics_constraint_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_timeline_get_constraint_index(spine_physics_constraint_timeline self) {
|
||||
|
||||
@ -13,7 +13,7 @@ SPINE_C_API void spine_physics_constraint_timeline_dispose(spine_physics_constra
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_timeline_get_rtti(spine_physics_constraint_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_timeline_apply(spine_physics_constraint_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_timeline_get_constraint_index(spine_physics_constraint_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_timeline_set_constraint_index(spine_physics_constraint_timeline self, int inValue);
|
||||
|
||||
@ -19,11 +19,10 @@ spine_rtti spine_physics_constraint_wind_timeline_get_rtti(spine_physics_constra
|
||||
}
|
||||
|
||||
void spine_physics_constraint_wind_timeline_apply(spine_physics_constraint_wind_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose) {
|
||||
PhysicsConstraintTimeline *_self = (PhysicsConstraintTimeline *) (PhysicsConstraintWindTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_physics_constraint_wind_timeline_get_constraint_index(spine_physics_constraint_wind_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_physics_constraint_wind_timeline_dispose(spine_physics_co
|
||||
|
||||
SPINE_C_API spine_rtti spine_physics_constraint_wind_timeline_get_rtti(spine_physics_constraint_wind_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_wind_timeline_apply(spine_physics_constraint_wind_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_physics_constraint_wind_timeline_get_constraint_index(spine_physics_constraint_wind_timeline self);
|
||||
SPINE_C_API void spine_physics_constraint_wind_timeline_set_constraint_index(spine_physics_constraint_wind_timeline self, int inValue);
|
||||
|
||||
@ -21,11 +21,10 @@ void spine_rgb2_timeline_set_frame(spine_rgb2_timeline self, int frame, float ti
|
||||
_self->setFrame(frame, time, r, g, b, r2, g2, b2);
|
||||
}
|
||||
|
||||
void spine_rgb2_timeline_apply(spine_rgb2_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_rgb2_timeline_apply(spine_rgb2_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) (RGB2Timeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_rgb2_timeline_get_slot_index(spine_rgb2_timeline self) {
|
||||
|
||||
@ -17,7 +17,7 @@ SPINE_C_API spine_rtti spine_rgb2_timeline_get_rtti(spine_rgb2_timeline self);
|
||||
SPINE_C_API void spine_rgb2_timeline_set_frame(spine_rgb2_timeline self, int frame, float time, float r, float g, float b, float r2, float g2,
|
||||
float b2);
|
||||
SPINE_C_API void spine_rgb2_timeline_apply(spine_rgb2_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_rgb2_timeline_get_slot_index(spine_rgb2_timeline self);
|
||||
SPINE_C_API void spine_rgb2_timeline_set_slot_index(spine_rgb2_timeline self, int inValue);
|
||||
|
||||
@ -21,11 +21,10 @@ void spine_rgb_timeline_set_frame(spine_rgb_timeline self, int frame, float time
|
||||
_self->setFrame(frame, time, r, g, b);
|
||||
}
|
||||
|
||||
void spine_rgb_timeline_apply(spine_rgb_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_rgb_timeline_apply(spine_rgb_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) (RGBTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_rgb_timeline_get_slot_index(spine_rgb_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_rgb_timeline_dispose(spine_rgb_timeline self);
|
||||
SPINE_C_API spine_rtti spine_rgb_timeline_get_rtti(spine_rgb_timeline self);
|
||||
SPINE_C_API void spine_rgb_timeline_set_frame(spine_rgb_timeline self, int frame, float time, float r, float g, float b);
|
||||
SPINE_C_API void spine_rgb_timeline_apply(spine_rgb_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_rgb_timeline_get_slot_index(spine_rgb_timeline self);
|
||||
SPINE_C_API void spine_rgb_timeline_set_slot_index(spine_rgb_timeline self, int inValue);
|
||||
|
||||
@ -22,11 +22,10 @@ void spine_rgba2_timeline_set_frame(spine_rgba2_timeline self, int frame, float
|
||||
_self->setFrame(frame, time, r, g, b, a, r2, g2, b2);
|
||||
}
|
||||
|
||||
void spine_rgba2_timeline_apply(spine_rgba2_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_rgba2_timeline_apply(spine_rgba2_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) (RGBA2Timeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_rgba2_timeline_get_slot_index(spine_rgba2_timeline self) {
|
||||
|
||||
@ -17,7 +17,7 @@ SPINE_C_API spine_rtti spine_rgba2_timeline_get_rtti(spine_rgba2_timeline self);
|
||||
SPINE_C_API void spine_rgba2_timeline_set_frame(spine_rgba2_timeline self, int frame, float time, float r, float g, float b, float a, float r2,
|
||||
float g2, float b2);
|
||||
SPINE_C_API void spine_rgba2_timeline_apply(spine_rgba2_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_rgba2_timeline_get_slot_index(spine_rgba2_timeline self);
|
||||
SPINE_C_API void spine_rgba2_timeline_set_slot_index(spine_rgba2_timeline self, int inValue);
|
||||
|
||||
@ -21,11 +21,10 @@ void spine_rgba_timeline_set_frame(spine_rgba_timeline self, int frame, float ti
|
||||
_self->setFrame(frame, time, r, g, b, a);
|
||||
}
|
||||
|
||||
void spine_rgba_timeline_apply(spine_rgba_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_rgba_timeline_apply(spine_rgba_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) (RGBATimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_rgba_timeline_get_slot_index(spine_rgba_timeline self) {
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_rgba_timeline_dispose(spine_rgba_timeline self);
|
||||
SPINE_C_API spine_rtti spine_rgba_timeline_get_rtti(spine_rgba_timeline self);
|
||||
SPINE_C_API void spine_rgba_timeline_set_frame(spine_rgba_timeline self, int frame, float time, float r, float g, float b, float a);
|
||||
SPINE_C_API void spine_rgba_timeline_apply(spine_rgba_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_rgba_timeline_get_slot_index(spine_rgba_timeline self);
|
||||
SPINE_C_API void spine_rgba_timeline_set_slot_index(spine_rgba_timeline self, int inValue);
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_rotate_timeline_get_rtti(spine_rotate_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_rotate_timeline_apply(spine_rotate_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_rotate_timeline_apply(spine_rotate_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (RotateTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_rotate_timeline_get_bone_index(spine_rotate_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_rotate_timeline_dispose(spine_rotate_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_rotate_timeline_get_rtti(spine_rotate_timeline self);
|
||||
SPINE_C_API void spine_rotate_timeline_apply(spine_rotate_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_rotate_timeline_get_bone_index(spine_rotate_timeline self);
|
||||
SPINE_C_API void spine_rotate_timeline_set_bone_index(spine_rotate_timeline self, int inValue);
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_scale_timeline_get_rtti(spine_scale_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_scale_timeline_apply(spine_scale_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_scale_timeline_apply(spine_scale_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
BoneTimeline2 *_self = (BoneTimeline2 *) (ScaleTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_scale_timeline_get_bone_index(spine_scale_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_scale_timeline_dispose(spine_scale_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_scale_timeline_get_rtti(spine_scale_timeline self);
|
||||
SPINE_C_API void spine_scale_timeline_apply(spine_scale_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_scale_timeline_get_bone_index(spine_scale_timeline self);
|
||||
SPINE_C_API void spine_scale_timeline_set_bone_index(spine_scale_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_scale_x_timeline_get_rtti(spine_scale_x_timeline self) {
|
||||
}
|
||||
|
||||
void spine_scale_x_timeline_apply(spine_scale_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (ScaleXTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_scale_x_timeline_get_bone_index(spine_scale_x_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_scale_x_timeline_dispose(spine_scale_x_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_scale_x_timeline_get_rtti(spine_scale_x_timeline self);
|
||||
SPINE_C_API void spine_scale_x_timeline_apply(spine_scale_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_scale_x_timeline_get_bone_index(spine_scale_x_timeline self);
|
||||
SPINE_C_API void spine_scale_x_timeline_set_bone_index(spine_scale_x_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_scale_y_timeline_get_rtti(spine_scale_y_timeline self) {
|
||||
}
|
||||
|
||||
void spine_scale_y_timeline_apply(spine_scale_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (ScaleYTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_scale_y_timeline_get_bone_index(spine_scale_y_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_scale_y_timeline_dispose(spine_scale_y_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_scale_y_timeline_get_rtti(spine_scale_y_timeline self);
|
||||
SPINE_C_API void spine_scale_y_timeline_apply(spine_scale_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_scale_y_timeline_get_bone_index(spine_scale_y_timeline self);
|
||||
SPINE_C_API void spine_scale_y_timeline_set_bone_index(spine_scale_y_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_sequence_timeline_get_rtti(spine_sequence_timeline self) {
|
||||
}
|
||||
|
||||
void spine_sequence_timeline_apply(spine_sequence_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
SequenceTimeline *_self = (SequenceTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
void spine_sequence_timeline_set_frame(spine_sequence_timeline self, int frame, float time, spine_sequence_mode mode, int index, float delay) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_sequence_timeline_dispose(spine_sequence_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_sequence_timeline_get_rtti(spine_sequence_timeline self);
|
||||
SPINE_C_API void spine_sequence_timeline_apply(spine_sequence_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API void spine_sequence_timeline_set_frame(spine_sequence_timeline self, int frame, float time, spine_sequence_mode mode, int index,
|
||||
float delay);
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_shear_timeline_get_rtti(spine_shear_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_shear_timeline_apply(spine_shear_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_shear_timeline_apply(spine_shear_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
BoneTimeline2 *_self = (BoneTimeline2 *) (ShearTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_shear_timeline_get_bone_index(spine_shear_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_shear_timeline_dispose(spine_shear_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_shear_timeline_get_rtti(spine_shear_timeline self);
|
||||
SPINE_C_API void spine_shear_timeline_apply(spine_shear_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_shear_timeline_get_bone_index(spine_shear_timeline self);
|
||||
SPINE_C_API void spine_shear_timeline_set_bone_index(spine_shear_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_shear_x_timeline_get_rtti(spine_shear_x_timeline self) {
|
||||
}
|
||||
|
||||
void spine_shear_x_timeline_apply(spine_shear_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (ShearXTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_shear_x_timeline_get_bone_index(spine_shear_x_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_shear_x_timeline_dispose(spine_shear_x_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_shear_x_timeline_get_rtti(spine_shear_x_timeline self);
|
||||
SPINE_C_API void spine_shear_x_timeline_apply(spine_shear_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_shear_x_timeline_get_bone_index(spine_shear_x_timeline self);
|
||||
SPINE_C_API void spine_shear_x_timeline_set_bone_index(spine_shear_x_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_shear_y_timeline_get_rtti(spine_shear_y_timeline self) {
|
||||
}
|
||||
|
||||
void spine_shear_y_timeline_apply(spine_shear_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (ShearYTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_shear_y_timeline_get_bone_index(spine_shear_y_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_shear_y_timeline_dispose(spine_shear_y_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_shear_y_timeline_get_rtti(spine_shear_y_timeline self);
|
||||
SPINE_C_API void spine_shear_y_timeline_apply(spine_shear_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_shear_y_timeline_get_bone_index(spine_shear_y_timeline self);
|
||||
SPINE_C_API void spine_shear_y_timeline_set_bone_index(spine_shear_y_timeline self, int inValue);
|
||||
|
||||
@ -141,9 +141,9 @@ void spine_skeleton_get_bounds_1(spine_skeleton self, float *outX, float *outY,
|
||||
}
|
||||
|
||||
void spine_skeleton_get_bounds_2(spine_skeleton self, float *outX, float *outY, float *outWidth, float *outHeight, spine_array_float outVertexBuffer,
|
||||
/*@null*/ spine_skeleton_clipping clipper) {
|
||||
/*@null*/ spine_skeleton_clipping clipping) {
|
||||
Skeleton *_self = (Skeleton *) self;
|
||||
_self->getBounds(*outX, *outY, *outWidth, *outHeight, *((Array<float> *) outVertexBuffer), (SkeletonClipping *) clipper);
|
||||
_self->getBounds(*outX, *outY, *outWidth, *outHeight, *((Array<float> *) outVertexBuffer), (SkeletonClipping *) clipping);
|
||||
}
|
||||
|
||||
spine_color spine_skeleton_get_color(spine_skeleton self) {
|
||||
@ -211,6 +211,11 @@ void spine_skeleton_set_position(spine_skeleton self, float x, float y) {
|
||||
_self->setPosition(x, y);
|
||||
}
|
||||
|
||||
void spine_skeleton_get_position(spine_skeleton self, float *x, float *y) {
|
||||
Skeleton *_self = (Skeleton *) self;
|
||||
_self->getPosition(*x, *y);
|
||||
}
|
||||
|
||||
float spine_skeleton_get_wind_x(spine_skeleton self) {
|
||||
Skeleton *_self = (Skeleton *) self;
|
||||
return _self->getWindX();
|
||||
|
||||
@ -40,7 +40,7 @@ SPINE_C_API spine_array_constraint spine_skeleton_get_constraints(spine_skeleton
|
||||
SPINE_C_API spine_array_physics_constraint spine_skeleton_get_physics_constraints(spine_skeleton self);
|
||||
SPINE_C_API void spine_skeleton_get_bounds_1(spine_skeleton self, float *outX, float *outY, float *outWidth, float *outHeight);
|
||||
SPINE_C_API void spine_skeleton_get_bounds_2(spine_skeleton self, float *outX, float *outY, float *outWidth, float *outHeight,
|
||||
spine_array_float outVertexBuffer, /*@null*/ spine_skeleton_clipping clipper);
|
||||
spine_array_float outVertexBuffer, /*@null*/ spine_skeleton_clipping clipping);
|
||||
SPINE_C_API spine_color spine_skeleton_get_color(spine_skeleton self);
|
||||
SPINE_C_API void spine_skeleton_set_color_1(spine_skeleton self, spine_color color);
|
||||
SPINE_C_API void spine_skeleton_set_color_2(spine_skeleton self, float r, float g, float b, float a);
|
||||
@ -54,6 +54,7 @@ SPINE_C_API void spine_skeleton_set_x(spine_skeleton self, float inValue);
|
||||
SPINE_C_API float spine_skeleton_get_y(spine_skeleton self);
|
||||
SPINE_C_API void spine_skeleton_set_y(spine_skeleton self, float inValue);
|
||||
SPINE_C_API void spine_skeleton_set_position(spine_skeleton self, float x, float y);
|
||||
SPINE_C_API void spine_skeleton_get_position(spine_skeleton self, float *x, float *y);
|
||||
SPINE_C_API float spine_skeleton_get_wind_x(spine_skeleton self);
|
||||
SPINE_C_API void spine_skeleton_set_wind_x(spine_skeleton self, float windX);
|
||||
SPINE_C_API float spine_skeleton_get_wind_y(spine_skeleton self);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_slider_mix_timeline_get_rtti(spine_slider_mix_timeline self) {
|
||||
}
|
||||
|
||||
void spine_slider_mix_timeline_apply(spine_slider_mix_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
SliderMixTimeline *_self = (SliderMixTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_slider_mix_timeline_get_constraint_index(spine_slider_mix_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_slider_mix_timeline_dispose(spine_slider_mix_timeline sel
|
||||
|
||||
SPINE_C_API spine_rtti spine_slider_mix_timeline_get_rtti(spine_slider_mix_timeline self);
|
||||
SPINE_C_API void spine_slider_mix_timeline_apply(spine_slider_mix_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_slider_mix_timeline_get_constraint_index(spine_slider_mix_timeline self);
|
||||
SPINE_C_API void spine_slider_mix_timeline_set_constraint_index(spine_slider_mix_timeline self, int inValue);
|
||||
|
||||
@ -16,11 +16,10 @@ spine_rtti spine_slider_timeline_get_rtti(spine_slider_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_slider_timeline_apply(spine_slider_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
void spine_slider_timeline_apply(spine_slider_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
SliderTimeline *_self = (SliderTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_slider_timeline_get_constraint_index(spine_slider_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_slider_timeline_dispose(spine_slider_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_slider_timeline_get_rtti(spine_slider_timeline self);
|
||||
SPINE_C_API void spine_slider_timeline_apply(spine_slider_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_slider_timeline_get_constraint_index(spine_slider_timeline self);
|
||||
SPINE_C_API void spine_slider_timeline_set_constraint_index(spine_slider_timeline self, int inValue);
|
||||
|
||||
@ -13,11 +13,10 @@ spine_rtti spine_slot_curve_timeline_get_rtti(spine_slot_curve_timeline self) {
|
||||
}
|
||||
|
||||
void spine_slot_curve_timeline_apply(spine_slot_curve_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
SlotCurveTimeline *_self = (SlotCurveTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_slot_curve_timeline_get_slot_index(spine_slot_curve_timeline self) {
|
||||
|
||||
@ -13,7 +13,7 @@ SPINE_C_API void spine_slot_curve_timeline_dispose(spine_slot_curve_timeline sel
|
||||
|
||||
SPINE_C_API spine_rtti spine_slot_curve_timeline_get_rtti(spine_slot_curve_timeline self);
|
||||
SPINE_C_API void spine_slot_curve_timeline_apply(spine_slot_curve_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_slot_curve_timeline_get_slot_index(spine_slot_curve_timeline self);
|
||||
SPINE_C_API void spine_slot_curve_timeline_set_slot_index(spine_slot_curve_timeline self, int inValue);
|
||||
|
||||
@ -12,11 +12,10 @@ spine_rtti spine_timeline_get_rtti(spine_timeline self) {
|
||||
return (spine_rtti) &_self->getRTTI();
|
||||
}
|
||||
|
||||
void spine_timeline_apply(spine_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents, float alpha,
|
||||
void spine_timeline_apply(spine_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events, float alpha,
|
||||
spine_mix_blend blend, spine_mix_direction direction, bool appliedPose) {
|
||||
Timeline *_self = (Timeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
size_t spine_timeline_get_frame_entries(spine_timeline self) {
|
||||
|
||||
@ -12,7 +12,7 @@ extern "C" {
|
||||
SPINE_C_API void spine_timeline_dispose(spine_timeline self);
|
||||
|
||||
SPINE_C_API spine_rtti spine_timeline_get_rtti(spine_timeline self);
|
||||
SPINE_C_API void spine_timeline_apply(spine_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event pEvents,
|
||||
SPINE_C_API void spine_timeline_apply(spine_timeline self, spine_skeleton skeleton, float lastTime, float time, /*@null*/ spine_array_event events,
|
||||
float alpha, spine_mix_blend blend, spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API size_t spine_timeline_get_frame_entries(spine_timeline self);
|
||||
SPINE_C_API size_t spine_timeline_get_frame_count(spine_timeline self);
|
||||
|
||||
@ -18,11 +18,10 @@ spine_rtti spine_transform_constraint_timeline_get_rtti(spine_transform_constrai
|
||||
}
|
||||
|
||||
void spine_transform_constraint_timeline_apply(spine_transform_constraint_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
TransformConstraintTimeline *_self = (TransformConstraintTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
void spine_transform_constraint_timeline_set_frame(spine_transform_constraint_timeline self, int frame, float time, float mixRotate, float mixX,
|
||||
|
||||
@ -16,7 +16,7 @@ SPINE_C_API void spine_transform_constraint_timeline_dispose(spine_transform_con
|
||||
|
||||
SPINE_C_API spine_rtti spine_transform_constraint_timeline_get_rtti(spine_transform_constraint_timeline self);
|
||||
SPINE_C_API void spine_transform_constraint_timeline_apply(spine_transform_constraint_timeline self, spine_skeleton skeleton, float lastTime,
|
||||
float time, /*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
float time, /*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API void spine_transform_constraint_timeline_set_frame(spine_transform_constraint_timeline self, int frame, float time, float mixRotate,
|
||||
float mixX, float mixY, float mixScaleX, float mixScaleY, float mixShearY);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_translate_timeline_get_rtti(spine_translate_timeline self) {
|
||||
}
|
||||
|
||||
void spine_translate_timeline_apply(spine_translate_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline2 *_self = (BoneTimeline2 *) (TranslateTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_translate_timeline_get_bone_index(spine_translate_timeline self) {
|
||||
|
||||
@ -15,8 +15,8 @@ SPINE_C_API void spine_translate_timeline_dispose(spine_translate_timeline self)
|
||||
|
||||
SPINE_C_API spine_rtti spine_translate_timeline_get_rtti(spine_translate_timeline self);
|
||||
SPINE_C_API void spine_translate_timeline_apply(spine_translate_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose);
|
||||
SPINE_C_API int spine_translate_timeline_get_bone_index(spine_translate_timeline self);
|
||||
SPINE_C_API void spine_translate_timeline_set_bone_index(spine_translate_timeline self, int inValue);
|
||||
SPINE_C_API void spine_translate_timeline_set_frame(spine_translate_timeline self, size_t frame, float time, float value1, float value2);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_translate_x_timeline_get_rtti(spine_translate_x_timeline self)
|
||||
}
|
||||
|
||||
void spine_translate_x_timeline_apply(spine_translate_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (TranslateXTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_translate_x_timeline_get_bone_index(spine_translate_x_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_translate_x_timeline_dispose(spine_translate_x_timeline s
|
||||
|
||||
SPINE_C_API spine_rtti spine_translate_x_timeline_get_rtti(spine_translate_x_timeline self);
|
||||
SPINE_C_API void spine_translate_x_timeline_apply(spine_translate_x_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_translate_x_timeline_get_bone_index(spine_translate_x_timeline self);
|
||||
SPINE_C_API void spine_translate_x_timeline_set_bone_index(spine_translate_x_timeline self, int inValue);
|
||||
|
||||
@ -17,11 +17,10 @@ spine_rtti spine_translate_y_timeline_get_rtti(spine_translate_y_timeline self)
|
||||
}
|
||||
|
||||
void spine_translate_y_timeline_apply(spine_translate_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend, spine_mix_direction direction,
|
||||
bool appliedPose) {
|
||||
BoneTimeline1 *_self = (BoneTimeline1 *) (TranslateYTimeline *) self;
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) pEvents, alpha, (MixBlend) blend, (MixDirection) direction,
|
||||
appliedPose);
|
||||
_self->apply(*((Skeleton *) skeleton), lastTime, time, (Array<Event *> *) events, alpha, (MixBlend) blend, (MixDirection) direction, appliedPose);
|
||||
}
|
||||
|
||||
int spine_translate_y_timeline_get_bone_index(spine_translate_y_timeline self) {
|
||||
|
||||
@ -15,7 +15,7 @@ SPINE_C_API void spine_translate_y_timeline_dispose(spine_translate_y_timeline s
|
||||
|
||||
SPINE_C_API spine_rtti spine_translate_y_timeline_get_rtti(spine_translate_y_timeline self);
|
||||
SPINE_C_API void spine_translate_y_timeline_apply(spine_translate_y_timeline self, spine_skeleton skeleton, float lastTime, float time,
|
||||
/*@null*/ spine_array_event pEvents, float alpha, spine_mix_blend blend,
|
||||
/*@null*/ spine_array_event events, float alpha, spine_mix_blend blend,
|
||||
spine_mix_direction direction, bool appliedPose);
|
||||
SPINE_C_API int spine_translate_y_timeline_get_bone_index(spine_translate_y_timeline self);
|
||||
SPINE_C_API void spine_translate_y_timeline_set_bone_index(spine_translate_y_timeline self, int inValue);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user