unreal.RigUnit_HierarchySetControlEnabled

class unreal.RigUnit_HierarchySetControlEnabled(execute_pin: RigVMExecutePin = [], physics_control_component_key: RigComponentKey = Ellipsis, enabled: bool = False)

Bases: RigUnit_PhysicsBaseMutable

Sets whether a control is enabled

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsControlExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enabled (bool): [Read-Write] Whether or not the Physics Control should be enabled

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • physics_control_component_key (RigComponentKey): [Read-Write] The Physics Control that should be enabled or disabled

property enabled: bool

[Read-Write] Whether or not the Physics Control should be enabled

Type:

(bool)

property physics_control_component_key: RigComponentKey

[Read-Write] The Physics Control that should be enabled or disabled

Type:

(RigComponentKey)