unreal.RigUnit_GetControlVector

class unreal.RigUnit_GetControlVector(control: Name = 'None', space: RigVMTransformSpace = Ellipsis, vector: Vector = Ellipsis, minimum: Vector = Ellipsis, maximum: Vector = Ellipsis)

Bases: RigUnit

GetControlVector is used to retrieve a single Vector from a hierarchy, can be used for Controls of type “Position” or “Scale”.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_GetControlTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

  • control (Name): [Read-Write] The name of the Control to retrieve the Vector for.

  • maximum (Vector): [Read-Write] The maximum value of the control.

  • minimum (Vector): [Read-Write] The minimum value of the control.

  • space (RigVMTransformSpace): [Read-Write] Defines if the Control’s Vector should be retrieved in local or global space.

  • vector (Vector): [Read-Write] The current value of the control.

property control: Name

[Read-Write] The name of the Control to retrieve the Vector for.

Type:

(Name)

property maximum: Vector

[Read-Only] The maximum value of the control.

Type:

(Vector)

property minimum: Vector

[Read-Only] The minimum value of the control.

Type:

(Vector)

property space: RigVMTransformSpace

[Read-Write] Defines if the Control’s Vector should be retrieved in local or global space.

Type:

(RigVMTransformSpace)

property vector: Vector

[Read-Only] The current value of the control.

Type:

(Vector)