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
hashCode int
The hash code for this object. [...]
read-only, inherited
parent Bone
read / write
rotation double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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

Methods

getWorldRotationX() double
getWorldRotationY() double
getWorldScaleX() double
getWorldScaleY() double
localToWorld(Vector2 local) Vector2
localToWorldRotation(double localRotation) double
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rotateWorld(double degrees) → void
setToSetupPose() → void
toString() String
Returns a string representation of this object.
inherited
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

Operators

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