unreal.RigUnit_SetRelativeBoneTransform
¶
- class unreal.RigUnit_SetRelativeBoneTransform(execute_context: ControlRigExecuteContext = [], bone: Name = 'None', space: Name = 'None', transform: Transform = Ellipsis, weight: float = 0.0, propagate_to_children: bool = False)¶
Bases:
RigUnitMutable
SetRelativeBoneTransform is used to perform a change in the hierarchy by setting a single bone’s transform.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_SetRelativeBoneTransform.h
Editor Properties: (see get_editor_property/set_editor_property)
bone
(Name): [Read-Write] The name of the Bone to set the transform for.execute_context
(ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units togetherpropagate_to_children
(bool): [Read-Only] If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.space
(Name): [Read-Write] The name of the Bone to set the transform relative within.transform
(Transform): [Read-Write] The transform value to set for the given Bone.weight
(float): [Read-Write] The weight of the change - how much the change should be applied
- property propagate_to_children: bool¶
[Read-Only] If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.
- Type:
(bool)
- property space: Name¶
[Read-Write] The name of the Bone to set the transform relative within.
- Type:
(Name)