Skeleton class

Constructors

Skeleton(SkeletonData data)

Properties

bones List<Bone>
final
color Color
read / write
data SkeletonData
final
drawOrder List<Slot>
final
flipX bool
read / write
flipY bool
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
ikConstraints List<IkConstraint>
final
pathConstraints List<PathConstraint>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
skin Skin
read / write
slots List<Slot>
final
time double
read / write
transformConstraints List<TransformConstraint>
final
x double
read / write
y double
read / write

Methods

findBone(String boneName) Bone
findBoneIndex(String boneName) int
findIkConstraint(String constraintName) IkConstraint
findPathConstraint(String constraintName) PathConstraint
findSlot(String slotName) Slot
findSlotIndex(String slotName) int
findTransformConstraint(String constraintName) TransformConstraint
getAttachment(int slotIndex, String attachmentName) Attachment
getAttachmentByName(String slotName, String attachmentName) Attachment
getBounds(Vector2 offset, Vector2 size, List<double> temp) → void
getRootBone() Bone
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setAttachment(String slotName, String attachmentName) → void
setBonesToSetupPose() → void
setSkin(Skin newSkin) → void
setSkinByName(String skinName) → void
setSlotsToSetupPose() → void
setToSetupPose() → void
sortBone(Bone bone) → void
sortIkConstraint(IkConstraint constraint) → void
sortPathConstraint(PathConstraint constraint) → void
sortPathConstraintAttachment(Skin skin, int slotIndex, Bone slotBone) → void
sortPathConstraintAttachmentWith(Attachment attachment, Bone slotBone) → void
sortReset(List<Bone> bones) → void
sortTransformConstraint(TransformConstraint constraint) → void
toString() String
Returns a string representation of this object.
inherited
update(double delta) → void
updateCache() → void
updateWorldTransform() → void

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited