updateWorldTransformBone method

void updateWorldTransformBone(
  1. Bone parent
)

Temporarily sets the root bone as a child of the specified bone, then updates the world transform for each bone and applies all constraints.

See World transforms in the Spine Runtimes Guide.

Implementation

void updateWorldTransformBone(Bone parent) {
  _bindings.spine_skeleton_update_world_transform_bone(_skeleton, parent._bone);
}