spine-runtimes/spine-c/src/generated/transform_constraint_timeline.h
2025-07-15 22:56:12 +02:00

44 lines
2.9 KiB
C

#ifndef SPINE_SPINE_TRANSFORM_CONSTRAINT_TIMELINE_H
#define SPINE_SPINE_TRANSFORM_CONSTRAINT_TIMELINE_H
#include "../base.h"
#include "types.h"
#ifdef __cplusplus
extern "C" {
#endif
SPINE_C_API spine_transform_constraint_timeline spine_transform_constraint_timeline_create(size_t frameCount, size_t bezierCount,
int transformConstraintIndex);
SPINE_C_API void spine_transform_constraint_timeline_dispose(spine_transform_constraint_timeline self);
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, spine_array_event pEvents, 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);
SPINE_C_API void spine_transform_constraint_timeline_set_linear(spine_transform_constraint_timeline self, size_t frame);
SPINE_C_API void spine_transform_constraint_timeline_set_stepped(spine_transform_constraint_timeline self, size_t frame);
SPINE_C_API void spine_transform_constraint_timeline_set_bezier(spine_transform_constraint_timeline self, size_t bezier, size_t frame, float value,
float time1, float value1, float cx1, float cy1, float cx2, float cy2, float time2,
float value2);
SPINE_C_API float spine_transform_constraint_timeline_get_bezier_value(spine_transform_constraint_timeline self, float time, size_t frame,
size_t valueOffset, size_t i);
SPINE_C_API spine_array_float spine_transform_constraint_timeline_get_curves(spine_transform_constraint_timeline self);
SPINE_C_API size_t spine_transform_constraint_timeline_get_frame_entries(spine_transform_constraint_timeline self);
SPINE_C_API size_t spine_transform_constraint_timeline_get_frame_count(spine_transform_constraint_timeline self);
SPINE_C_API spine_array_float spine_transform_constraint_timeline_get_frames(spine_transform_constraint_timeline self);
SPINE_C_API float spine_transform_constraint_timeline_get_duration(spine_transform_constraint_timeline self);
SPINE_C_API spine_array_property_id spine_transform_constraint_timeline_get_property_ids(spine_transform_constraint_timeline self);
SPINE_C_API int spine_transform_constraint_timeline_get_constraint_index(spine_transform_constraint_timeline self);
SPINE_C_API void spine_transform_constraint_timeline_set_constraint_index(spine_transform_constraint_timeline self, int inValue);
SPINE_C_API spine_rtti spine_transform_constraint_timeline_rtti(void);
#ifdef __cplusplus
}
#endif
#endif /* SPINE_SPINE_TRANSFORM_CONSTRAINT_TIMELINE_H */