set_retarget_pose_bone_rotation
Set a bone's rotation offset in an IK Retargeter's current retarget pose using Euler degrees, then save the asset as a single undo transaction.
Instructions
Set a bone's rotation offset in the current retarget pose (euler degrees) of an IK Retargeter asset, as one undo transaction, then save the asset; the offset is read back as quat_x..quat_w. Creates a default pose if none is current. bone_name is stored as given, not checked against the skeleton. When the pose to edit is already current and already holds exactly that offset for the bone, changed is false, saved is false, a note says so and nothing is saved. A failed save makes success false, with saved=false and save_error.
Returns: { asset_path: string, bone_name: string, source_or_target: string, retarget_pose: string, quat_x: number, quat_y: number, quat_z: number, quat_w: number, changed: bool, saved: bool, save_error?: string, note?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| yaw | No | Euler yaw in degrees | |
| roll | No | Euler roll in degrees | |
| pitch | No | Euler pitch in degrees (used when no quat is provided) | |
| quat_w | No | Optional quaternion W | |
| quat_x | No | Optional quaternion X | |
| quat_y | No | Optional quaternion Y | |
| quat_z | No | Optional quaternion Z | |
| rotation | No | Optional nested {x, y, z, w} quaternion object | |
| bone_name | Yes | Name of the bone to update | |
| pose_name | No | Optional explicit retarget pose name; created if missing | |
| source_or_target | No | Optional "Source" or "Target" scope; defaults to "Target" | |
| ik_retargeter_path | Yes | Path to the UIKRetargeter asset |