updateWorldTransformWith method

void updateWorldTransformWith(
  1. double x,
  2. double y,
  3. double rotation,
  4. double scaleX,
  5. double scaleY,
  6. double shearX,
  7. double shearY,
)

Computes the world transform using the parent bone and the specified local transform. The applied transform is set to the specified local transform. Child bones are not updated.

See World transform in the Spine Runtimes Guide.

Implementation

void updateWorldTransformWith(double x, double y, double rotation, double scaleX, double scaleY, double shearX, double shearY) {
  _bindings.spine_bone_update_world_transform_with(_bone, x, y, rotation, scaleX, scaleY, shearX, shearY);
}