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
ikConstraints → List<IkConstraint>
final
pathConstraints → List<PathConstraint>
final
skin Skin
read / write
slots → List<Slot>
final
time ↔ double
read / write
transformConstraints → List<TransformConstraint>
final
x ↔ double
read / write
y ↔ double
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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
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
update(double delta) → void
updateCache() → void
updateWorldTransform() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited