Skeleton

Undocumented in source.

Constructors

this
this(SkeletonData sd)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

findBoneByAttachment
spBone* findBoneByAttachment(ATT* anyAttachment)
Undocumented in source. Be warned that the author may not have intended to support it.
flipX
bool flipX(bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
flipX
bool flipX()
Undocumented in source. Be warned that the author may not have intended to support it.
flipY
bool flipY(bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
flipY
bool flipY()
Undocumented in source. Be warned that the author may not have intended to support it.
getAttachmentForSlotIndex
spAttachment* getAttachmentForSlotIndex(int slotIdx, string attachmentName)

@param attachmentName May be null

getBoneByIndex
spBone* getBoneByIndex(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
getBoneByIndex
spBone* getBoneByIndex(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
getRootBone
spBone* getRootBone()
Undocumented in source. Be warned that the author may not have intended to support it.
getSkeletonData
const(SkeletonData) getSkeletonData()
Undocumented in source. Be warned that the author may not have intended to support it.
getSlotByIndex
spSlot* getSlotByIndex(int idx)
Undocumented in source. Be warned that the author may not have intended to support it.
getSpSkeleton
spSkeleton* getSpSkeleton()
Undocumented in source. Be warned that the author may not have intended to support it.
setAttachment
void setAttachment(string slotName, string attachmentName)

@param attachmentName May be null

setToSetupPose
void setToSetupPose()
Undocumented in source. Be warned that the author may not have intended to support it.
skin
void skin(spSkin* skin)
Undocumented in source. Be warned that the author may not have intended to support it.
sp_skeleton_protected
const(spSkeleton)* sp_skeleton_protected()

Useful for custom implementations of Skeleton.draw()

update
void update(float deltaTime)
Undocumented in source. Be warned that the author may not have intended to support it.
updateWorldTransform
void updateWorldTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
x
void x(float x)
Undocumented in source. Be warned that the author may not have intended to support it.
x
float x()
Undocumented in source. Be warned that the author may not have intended to support it.
y
void y(float y)
Undocumented in source. Be warned that the author may not have intended to support it.
y
float y()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

sp_skeleton
spSkeleton* sp_skeleton;
Undocumented in source.

Meta