updateWorldTransform method

void updateWorldTransform(
  1. Skeleton skeleton
)

Computes the world transform using the parent bone's applied pose and this pose. Child bones are not updated.

See World transforms in the Spine Runtimes Guide.

Implementation

void updateWorldTransform(Skeleton skeleton) {
  SpineBindings.bindings.spine_bone_pose_update_world_transform(_ptr, skeleton.nativePtr.cast());
}