unreal.RigUnit_SetControlInteger
¶
- class unreal.RigUnit_SetControlInteger(execute_context: ControlRigExecuteContext = [], control: Name = 'None', weight: int = 0, integer_value: int = 0)¶
Bases:
RigUnitMutable
SetControlInteger is used to perform a change in the hierarchy by setting a single control’s int32 value.
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_SetControlTransform.h
Editor Properties: (see get_editor_property/set_editor_property)
control
(Name): [Read-Write] The name of the Control to set the transform for.execute_context
(ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units togetherinteger_value
(int32): [Read-Write] The transform value to set for the given Control.weight
(int32): [Read-Write] The weight of the change - how much the change should be applied