BoneData
spine.BoneData (Class)
Stores the setup pose for a {@link Bone}.
Instance Members
The index of the bone in {@link Skeleton#getBones()}.
The name of the bone, which is unique across all bones in the skeleton.
The bone's length.
The local x translation.
The local y translation.
spine
getRotation(): Float
The local rotation.
The local scaleX.
The local scaleY.
The local shearX.
The local shearX.
The transform mode for how parent world transforms affect this bone.
spine
getSkinRequired(): Bool
When true, {@link Skeleton#updateWorldTransform()} only updates this bone if the {@link Skeleton#getSkin()} contains this
bone.
See {@link Skin#getBones()}.
| Returns |
|---------|
| [Bool](/api-docs/clay-native/Bool/) |
spine
setSkinRequired(skinRequired: Bool): Void
Name |
Type |
skinRequired |
Bool |
The color of the bone as it was in Spine, or a default color if nonessential data was not exported. Bones are not usually
rendered at runtime.