Bone class

Implemented types

Constructors

Bone(BoneData data, Skeleton skeleton, Bone parent)

Properties

a ↔ double
read / write
appliedValid ↔ bool
read / write
arotation ↔ double
read / write
ascaleX ↔ double
read / write
ascaleY ↔ double
read / write
ashearX ↔ double
read / write
ashearY ↔ double
read / write
ax ↔ double
read / write
ay ↔ double
read / write
b ↔ double
read / write
c ↔ double
read / write
children → List<Bone>
final
d ↔ double
read / write
data BoneData
final
parent Bone
read / write
rotation ↔ double
read / write
scaleX ↔ double
read / write
scaleY ↔ double
read / write
shearX ↔ double
read / write
shearY ↔ double
read / write
skeleton Skeleton
final
sorted ↔ bool
read / write
worldX ↔ double
read / write
worldY ↔ double
read / write
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

getWorldRotationX() → double
getWorldRotationY() → double
getWorldScaleX() → double
getWorldScaleY() → double
localToWorld(Vector2 local) Vector2
localToWorldRotation(double localRotation) → double
rotateWorld(double degrees) → void
setToSetupPose() → void
update() → void
override
updateAppliedTransform() → void
updateWorldTransform() → void
updateWorldTransformWith(double x, double y, double rotation, double scaleX, double scaleY, double shearX, double shearY) → void
worldToLocal(Vector2 world) Vector2
worldToLocalRotation(double worldRotation) → double
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