Skeleton class

Constructors

Skeleton(SkeletonData data)
Skeleton.empty()
factory

Properties

bones List<Bone>
final
color Color
getter/setter pair
data SkeletonData
final
drawOrder List<Slot>
getter/setter pair
flipX bool
getter/setter pair
flipY bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ikConstraints List<IkConstraint>
final
pathConstraints List<PathConstraint>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skin Skin?
getter/setter pair
slots List<Slot>
final
time double
getter/setter pair
transformConstraints List<TransformConstraint>
final
x double
getter/setter pair
y double
getter/setter pair

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 nonexistent 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
A string representation of this object.
inherited
update(double delta) → void
updateCache() → void
updateWorldTransform() → void

Operators

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