unreal.RigUnit_SetBoneTranslation
¶
- class unreal.RigUnit_SetBoneTranslation(execute_context: ControlRigExecuteContext = [], bone: Name = 'None', translation: Vector = Ellipsis, space: BoneGetterSetterMode = Ellipsis, weight: float = 0.0, propagate_to_children: bool = False)¶
Bases:
RigUnitMutable
SetBoneTranslation is used to perform a change in the hierarchy by setting a single bone’s Translation.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_SetBoneTranslation.h
Editor Properties: (see get_editor_property/set_editor_property)
bone
(Name): [Read-Write] Bone: The name of the Bone to set the Translation for.execute_context
(ControlRigExecuteContext): [Read-Write] Execute Context: * This property is used to chain multiple mutable units togetherpropagate_to_children
(bool): [Read-Only] Propagate to Children: 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
(BoneGetterSetterMode): [Read-Write] Space: Defines if the bone’s Translation should be set in local or global space.translation
(Vector): [Read-Write] Translation: The Translation value to set for the given Bone.weight
(float): [Read-Write] Weight: The weight of the change - how much the change should be applied
- property bone: Name¶
[Read-Write] Bone: The name of the Bone to set the Translation for.
- Type:
(Name)
- property propagate_to_children: bool¶
[Read-Only] Propagate to Children: 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: BoneGetterSetterMode¶
[Read-Write] Space: Defines if the bone’s Translation should be set in local or global space.
- Type: