unreal.RigUnit_SetControlVisibility

class unreal.RigUnit_SetControlVisibility(execute_context: ControlRigExecuteContext = [], item: RigElementKey = Ellipsis, pattern: str = '', visible: bool = False)

Bases: RigUnitMutable

SetControlVisibility is used to change the visibility on a control at runtime

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_SetControlVisibility.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • item (RigElementKey): [Read-Write] Item: The name of the Control to set the visibility for.

  • pattern (str): [Read-Only] Pattern: If the ControlName is set to None this can be used to look for a series of Controls

  • visible (bool): [Read-Write] Visible: The visibility to set for the control

property item: RigElementKey

[Read-Write] Item: The name of the Control to set the visibility for.

Type:

(RigElementKey)

property pattern: str

[Read-Only] Pattern: If the ControlName is set to None this can be used to look for a series of Controls

Type:

(str)

property visible: bool

[Read-Write] Visible: The visibility to set for the control

Type:

(bool)