mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
36 lines
967 B
C
36 lines
967 B
C
#ifndef SPINE_SPINE_SLOT_H
|
|
#define SPINE_SPINE_SLOT_H
|
|
|
|
#include "../base.h"
|
|
#include "types.h"
|
|
#include "arrays.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
SPINE_C_API spine_slot spine_slot_create(spine_slot_data data, spine_skeleton skeleton);
|
|
|
|
SPINE_C_API void spine_slot_dispose(spine_slot self);
|
|
|
|
/**
|
|
* The bone this slot belongs to.
|
|
*/
|
|
SPINE_C_API spine_bone spine_slot_get_bone(spine_slot self);
|
|
SPINE_C_API void spine_slot_setup_pose(spine_slot self);
|
|
/**
|
|
* The constraint's setup pose data.
|
|
*/
|
|
SPINE_C_API spine_slot_data spine_slot_get_data(spine_slot self);
|
|
SPINE_C_API spine_slot_pose spine_slot_get_pose(spine_slot self);
|
|
SPINE_C_API spine_slot_pose spine_slot_get_applied_pose(spine_slot self);
|
|
SPINE_C_API void spine_slot_reset_constrained(spine_slot self);
|
|
SPINE_C_API void spine_slot_constrained(spine_slot self);
|
|
SPINE_C_API bool spine_slot_is_pose_equal_to_applied(spine_slot self);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* SPINE_SPINE_SLOT_H */
|