The applied pose for a bone with constraints applied and world transform computed.
The applied pose for a bone. This is the bone pose with constraints applied and the world transform computed by [SpineSkeleton]'s update_world_transform method. Inherits all local transform properties from [SpineBoneLocal] and adds world transform properties and transformation methods.
See [url=https://esotericsoftware.com/spine-runtime-skeletons#World-transforms]World transforms[/url] in the Spine Runtimes Guide.
Returns part of the world transform matrix for the X axis. If changed, update_local_transform should be called.
Sets part of the world transform matrix for the X axis. If changed, update_local_transform should be called.
Returns part of the world transform matrix for the Y axis. If changed, update_local_transform should be called.
Sets part of the world transform matrix for the Y axis. If changed, update_local_transform should be called.
Returns part of the world transform matrix for the X axis. If changed, update_local_transform should be called.
Sets part of the world transform matrix for the X axis. If changed, update_local_transform should be called.
Returns part of the world transform matrix for the Y axis. If changed, update_local_transform should be called.
Sets part of the world transform matrix for the Y axis. If changed, update_local_transform should be called.
Returns the world X position. If changed, update_local_transform should be called.
Sets the world X position. If changed, update_local_transform should be called.
Returns the world Y position. If changed, update_local_transform should be called.
Sets the world Y position. If changed, update_local_transform should be called.
Returns the world rotation for the X axis, calculated using a and c.
Returns the world rotation for the Y axis, calculated using b and d.
Returns the magnitude (always positive) of the world scale X, calculated using a and c.
Returns the magnitude (always positive) of the world scale Y, calculated using b and d.
Transforms a point from world coordinates to the bone's local coordinates.
Transforms a point from the bone's local coordinates to world coordinates.
Transforms a point from world coordinates to the parent bone's local coordinates.
Transforms a point from the parent bone's coordinates to world coordinates.
Transforms a world rotation to a local rotation.
Transforms a local rotation to a world rotation.
Rotates the world transform the specified amount in degrees.
After changes are made to the world transform, update_local_transform should be called on this bone and any child bones, recursively.
Computes the world transform using the parent bone's applied pose and this pose. Child bones are not updated.
See [url=https://esotericsoftware.com/spine-runtime-skeletons#World-transforms]World transforms[/url] in the Spine Runtimes Guide.
Computes the local transform values from the world transform.
If the world transform is modified (by a constraint, rotate_world, etc) then this method should be called so the local transform matches the world transform. The local transform may be needed by other code (eg to apply another constraint).
Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation. The local transform after calling this method is equivalent to the local transform used to compute the world transform, but may not be identical.