Module skeleton

Consts

NOTIFICATION_UPDATE_SKELETON* = 50'i64

Procs

proc addBone*(self: Skeleton; name: string) {.
gcsafe, locks: 0
.}
proc findBone*(self: Skeleton; name: string): int64 {.
gcsafe, locks: 0
.}
proc getBoneName*(self: Skeleton; boneIdx: int64): string {.
gcsafe, locks: 0
.}
proc getBoneParent*(self: Skeleton; boneIdx: int64): int64 {.
gcsafe, locks: 0
.}
proc setBoneParent*(self: Skeleton; boneIdx: int64; parentIdx: int64) {.
gcsafe, locks: 0
.}
proc getBoneCount*(self: Skeleton): int64 {.
gcsafe, locks: 0
.}
proc unparentBoneAndRest*(self: Skeleton; boneIdx: int64) {.
gcsafe, locks: 0
.}
proc getBoneRest*(self: Skeleton; boneIdx: int64): Transform {.
gcsafe, locks: 0
.}
proc setBoneRest*(self: Skeleton; boneIdx: int64; rest: Transform) {.
gcsafe, locks: 0
.}
proc setBoneDisableRest*(self: Skeleton; boneIdx: int64; disable: bool) {.
gcsafe, locks: 0
.}
proc isBoneRestDisabled*(self: Skeleton; boneIdx: int64): bool {.
gcsafe, locks: 0
.}
proc bindChildNodeToBone*(self: Skeleton; boneIdx: int64; node: Node) {.
gcsafe, locks: 0
.}
proc unbindChildNodeFromBone*(self: Skeleton; boneIdx: int64; node: Node) {.
gcsafe, locks: 0
.}
proc getBoundChildNodesToBone*(self: Skeleton; boneIdx: int64): Array {.
gcsafe, locks: 0
.}
proc clearBones*(self: Skeleton) {.
gcsafe, locks: 0
.}
proc getBonePose*(self: Skeleton; boneIdx: int64): Transform {.
gcsafe, locks: 0
.}
proc setBonePose*(self: Skeleton; boneIdx: int64; pose: Transform) {.
gcsafe, locks: 0
.}
proc setBoneGlobalPose*(self: Skeleton; boneIdx: int64; pose: Transform) {.
gcsafe, locks: 0
.}
proc getBoneGlobalPose*(self: Skeleton; boneIdx: int64): Transform {.
gcsafe, locks: 0
.}
proc getBoneCustomPose*(self: Skeleton; boneIdx: int64): Transform {.
gcsafe, locks: 0
.}
proc setBoneCustomPose*(self: Skeleton; boneIdx: int64; customPose: Transform) {.
gcsafe, locks: 0
.}
proc getBoneTransform*(self: Skeleton; boneIdx: int64): Transform {.
gcsafe, locks: 0
.}