dspine ~master (2022-01-15T23:18:07.6473332)
Dub
Repo
spBone
spine
skeleton
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
extern (
C
)
struct
spBone {
const
(
spBoneData
)*
data
;
const
(
spSkeleton
)*
skeleton
;
spBone
*
parent
;
int
childrenCount
;
const
(
spBone
)**
children
;
float
x
;
float
y
;
float
rotation
;
float
scaleX
;
float
scaleY
;
float
shearX
;
float
shearY
;
float
ax
;
float
ay
;
float
arotation
;
float
ascaleX
;
float
ascaleY
;
float
ashearX
;
float
ashearY
;
int
appliedValid
;
float
a
;
float
b
;
float
worldX
;
float
c
;
float
d
;
float
worldY
;
int
sorted
;
float
worldRotation
();
void
worldToLocal
(float worldX, float worldY, float localX, float localY);
void
updateAppliedTransform
();
string
toString
();
}
Members
Functions
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
updateAppliedTransform
void
updateAppliedTransform
()
Undocumented in source. Be warned that the author may not have intended to support it.
worldRotation
float
worldRotation
()
Undocumented in source. Be warned that the author may not have intended to support it.
worldToLocal
void
worldToLocal
(float worldX, float worldY, float localX, float localY)
Converts a skeleton-space position into a bone local position
Variables
a
float
a
;
Undocumented in source.
appliedValid
int
appliedValid
;
arotation
float
arotation
;
ascaleX
float
ascaleX
;
ascaleY
float
ascaleY
;
ashearX
float
ashearX
;
ashearY
float
ashearY
;
Undocumented in source.
ax
float
ax
;
ay
float
ay
;
b
float
b
;
Undocumented in source.
c
float
c
;
Undocumented in source.
children
const
(
spBone
)**
children
;
Undocumented in source.
childrenCount
int
childrenCount
;
d
float
d
;
Undocumented in source.
data
const
(
spBoneData
)*
data
;
Undocumented in source.
parent
spBone
*
parent
;
rotation
float
rotation
;
scaleX
float
scaleX
;
scaleY
float
scaleY
;
shearX
float
shearX
;
shearY
float
shearY
;
Undocumented in source.
skeleton
const
(
spSkeleton
)*
skeleton
;
Undocumented in source.
sorted
int
sorted
;
worldX
float
worldX
;
worldY
float
worldY
;
Undocumented in source.
x
float
x
;
y
float
y
;
Undocumented in source.
Meta
Source
See Implementation
spine
skeleton
classes
Skeleton
SkeletonData
enums
spAttachmentType
spBlendMode
spTransformMode
functions
spSkeleton_update
spSkeleton_updateWorldTransform
structs
spAnimation
spAttachment
spBone
spBoneData
spEventData
spIkConstraint
spIkConstraintData
spPathConstraint
spPathConstraintData
spSkeleton
spSkeletonData
spSkin
spSlot
spSlotData
spTransformConstraint
spTransformConstraintData