unreal.RigUnit_ModifyTransforms
¶
- class unreal.RigUnit_ModifyTransforms(execute_context: ControlRigExecuteContext = [], item_to_modify: None = [], weight: float = 0.0, weight_minimum: float = 0.0, weight_maximum: float = 0.0, mode: ControlRigModifyBoneMode = Ellipsis)¶
Bases:
RigUnit_HighlevelBaseMutable
Modify Transforms is used to perform a change in the hierarchy by setting one or more bones’ transforms
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_ModifyTransforms.h
Editor Properties: (see get_editor_property/set_editor_property)
execute_context
(ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units togetheritem_to_modify
(Array[RigUnit_ModifyTransforms_PerItem]): [Read-Write] The items to modify.mode
(ControlRigModifyBoneMode): [Read-Only] Defines if the bone’s transform should be set in local or global space, additive or override.weight
(float): [Read-Write] At 1 this sets the transform, between 0 and 1 the transform is blended with previous results.weight_maximum
(float): [Read-Only] The maximum of the weight - defaults to 1.0weight_minimum
(float): [Read-Only] The minimum of the weight - defaults to 0.0
- property mode: ControlRigModifyBoneMode¶
[Read-Only] Defines if the bone’s transform should be set in local or global space, additive or override.
- Type:
- property weight: float¶
[Read-Write] At 1 this sets the transform, between 0 and 1 the transform is blended with previous results.
- Type:
(float)