unreal.RigUnit_SetControlColor

class unreal.RigUnit_SetControlColor(execute_context: ControlRigExecuteContext = [], control: Name = 'None', color: LinearColor = Ellipsis)

Bases: RigUnitMutable

SetControlColor is used to change the control’s color

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_SetControlColor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • color (LinearColor): [Read-Write] The color to set for the control

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

  • execute_context (ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units together

property color: LinearColor

[Read-Write] The color to set for the control

Type:

(LinearColor)

property control: Name

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

Type:

(Name)