SkeletonDrawable

Undocumented in source.

Constructors

this
this(SkeletonData sd)
Undocumented in source.

Members

Functions

draw
void draw(RenderTarget target, RenderStates states)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Skeleton

sp_skeleton
spSkeleton* sp_skeleton;
Undocumented in source.
sp_skeleton_protected
const(spSkeleton)* sp_skeleton_protected()

Useful for custom implementations of Skeleton.draw()

~this
~this()
Undocumented in source.
getSpSkeleton
spSkeleton* getSpSkeleton()
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.
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.
setToSetupPose
void setToSetupPose()
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.
flipY
bool flipY(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()
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.
y
void y(float y)
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
float y()
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.
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.
getSlotByIndex
spSlot* getSlotByIndex(int idx)
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

setAttachment
void setAttachment(string slotName, string attachmentName)

@param attachmentName May be null

skin
void skin(spSkin* skin)
Undocumented in source. Be warned that the author may not have intended to support it.
findBoneByAttachment
spBone* findBoneByAttachment(ATT* anyAttachment)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta