mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-22 01:36:42 +08:00
37 lines
1.8 KiB
C
37 lines
1.8 KiB
C
#ifndef SPINE_SPINE_POINT_ATTACHMENT_H
|
|
#define SPINE_SPINE_POINT_ATTACHMENT_H
|
|
|
|
#include "../base.h"
|
|
#include "types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SPINE_C_API spine_point_attachment spine_point_attachment_create(const char *name);
|
|
|
|
SPINE_C_API void spine_point_attachment_dispose(spine_point_attachment self);
|
|
|
|
SPINE_C_API spine_rtti spine_point_attachment_get_rtti(spine_point_attachment self);
|
|
SPINE_C_API float spine_point_attachment_get_x(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_set_x(spine_point_attachment self, float inValue);
|
|
SPINE_C_API float spine_point_attachment_get_y(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_set_y(spine_point_attachment self, float inValue);
|
|
SPINE_C_API float spine_point_attachment_get_rotation(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_set_rotation(spine_point_attachment self, float inValue);
|
|
SPINE_C_API spine_color spine_point_attachment_get_color(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_compute_world_position(spine_point_attachment self, spine_bone_pose bone, float *ox, float *oy);
|
|
SPINE_C_API float spine_point_attachment_compute_world_rotation(spine_point_attachment self, spine_bone_pose bone);
|
|
SPINE_C_API spine_attachment spine_point_attachment_copy(spine_point_attachment self);
|
|
SPINE_C_API const char *spine_point_attachment_get_name(spine_point_attachment self);
|
|
SPINE_C_API int spine_point_attachment_get_ref_count(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_reference(spine_point_attachment self);
|
|
SPINE_C_API void spine_point_attachment_dereference(spine_point_attachment self);
|
|
SPINE_C_API spine_rtti spine_point_attachment_rtti(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SPINE_SPINE_POINT_ATTACHMENT_H */
|