Stores the setup pose for a Bone.

Constructor

new(index:Int, name:String, parent:Null<BoneData>)

Variables

@:value(new Color())color:Color = new Color()

The color of the bone as it was in Spine. Available only when nonessential data was exported. Bones are not usually rendered at runtime.

finalindex:Int

The index of the bone in Skeleton.bones.

length:Float

The bone's length.

finalname:String

The name of the bone, which is unique within the skeleton.

finalparent:Null<BoneData>

@:value(0)rotation:Float = 0

The local rotation.

@:value(1)scaleX:Float = 1

The local scaleX.

@:value(1)scaleY:Float = 1

The local scaleY.

@:value(0)shearX:Float = 0

The local shearX.

@:value(0)shearY:Float = 0

The local shearX.

@:value(false)skinRequired:Bool = false

When true, Skeleton.updateWorldTransform only updates this bone if theSkeleton.skin contains this bone.

See also:

@:value(Normal)transformMode:TransformMode = Normal

The transform mode for how parent world transforms affect this bone.

@:value(0)x:Float = 0

The local x translation.

@:value(0)y:Float = 0

The local y translation.