SkeletonAnimation class
- Inheritance
-
- Object
- Skeleton
- SkeletonAnimation
Constructors
- SkeletonAnimation(SkeletonData data)
Properties
-
bones
→ List<
Bone> -
finalinherited
- color ↔ Color
-
getter/setter pairinherited
- data → SkeletonData
-
finalinherited
-
drawOrder
↔ List<
Slot> -
getter/setter pairinherited
- flipX ↔ bool
-
getter/setter pairinherited
- flipY ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
getter/setter pair
-
ikConstraints
→ List<
IkConstraint> -
finalinherited
-
pathConstraints
→ List<
PathConstraint> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skin ↔ Skin?
-
getter/setter pairinherited
-
slots
→ List<
Slot> -
finalinherited
- state → AnimationState
-
final
- time ↔ double
-
getter/setter pairinherited
-
transformConstraints
→ List<
TransformConstraint> -
finalinherited
- width ↔ double
-
getter/setter pair
- x ↔ double
-
getter/setter pairinherited
- y ↔ double
-
getter/setter pairinherited
Methods
-
applyState(
) → void -
findBone(
String boneName) → Bone? -
inherited
-
findBoneIndex(
String boneName) → int -
inherited
-
findIkConstraint(
String constraintName) → IkConstraint? -
inherited
-
findPathConstraint(
String constraintName) → PathConstraint? -
inherited
-
findSlot(
String slotName) → Slot? -
inherited
-
findSlotIndex(
String slotName) → int -
inherited
-
findTransformConstraint(
String constraintName) → TransformConstraint? -
inherited
-
getAttachment(
int slotIndex, String attachmentName) → Attachment? -
inherited
-
getAttachmentByName(
String slotName, String attachmentName) → Attachment? -
inherited
-
getBounds(
Vector2 offset, Vector2 size, List< double> temp) → void -
inherited
-
getRootBone(
) → Bone? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttachment(
String slotName, String attachmentName) → void -
inherited
-
setBonesToSetupPose(
) → void -
inherited
-
setSkin(
Skin? newSkin) → void -
inherited
-
setSkinByName(
String skinName) → void -
inherited
-
setSlotsToSetupPose(
) → void -
inherited
-
setToSetupPose(
) → void -
inherited
-
sortBone(
Bone bone) → void -
inherited
-
sortIkConstraint(
IkConstraint constraint) → void -
inherited
-
sortPathConstraint(
PathConstraint constraint) → void -
inherited
-
sortPathConstraintAttachment(
Skin skin, int slotIndex, Bone slotBone) → void -
inherited
-
sortPathConstraintAttachmentWith(
Attachment attachment, Bone slotBone) → void -
inherited
-
sortReset(
List< Bone> bones) → void -
inherited
-
sortTransformConstraint(
TransformConstraint constraint) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
double delta) → void -
inherited
-
updateCache(
) → void -
inherited
-
updateState(
double delta) → void -
updateWorldTransform(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
createWithFiles(
String name, {String pathBase = '', String rawAtlas = '', String rawSkeleton = '', Uint8List? rawTexture}) → Future< SkeletonAnimation> -
isAllowedImageFileName(
String file) → bool -
textureFilesFromAtlas(
String pathToAtlas) → Future< List< String> >
Constants
-
allowedImageExtensions
→ const List<
String>