unreal.RigUnit_SetControlVector

class unreal.RigUnit_SetControlVector(execute_context: ControlRigExecuteContext = [], control: Name = 'None', weight: float = 0.0, vector: Vector = Ellipsis, space: RigVMTransformSpace = Ellipsis)

Bases: RigUnitMutable

SetControlVector is used to perform a change in the hierarchy by setting a single control’s Vector 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 together

  • space (RigVMTransformSpace): [Read-Write] Defines if the bone’s transform should be set in local or global space.

  • vector (Vector): [Read-Write] The transform value to set for the given Control.

  • weight (float): [Read-Write] The weight of the change - how much the change should be applied

property control: Name

[Read-Write] The name of the Control to set the transform for.

Type:

(Name)

property space: RigVMTransformSpace

[Read-Write] Defines if the bone’s transform should be set in local or global space.

Type:

(RigVMTransformSpace)

property vector: Vector

[Read-Write] The transform value to set for the given Control.

Type:

(Vector)

property weight: float

[Read-Write] The weight of the change - how much the change should be applied

Type:

(float)