unreal.ModularRigController
¶
- class unreal.ModularRigController(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Object
Modular Rig Controller
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: ModularRigController.h
- auto_connect_modules(module_paths, replace_existing_connections, setup_undo=True) bool ¶
Auto Connect Modules
- auto_connect_secondary_connectors(connector_keys, replace_existing_connections, setup_undo=True) bool ¶
Auto Connect Secondary Connectors
- Parameters:
connector_keys (Array[RigElementKey]) –
replace_existing_connections (bool) –
setup_undo (bool) –
- Return type:
- bind_module_variable(module_path, variable_name, source_path, setup_undo=True) bool ¶
Bind Module Variable
- can_connect_connector_to_element(connector_key, target_key) Text or None ¶
Can Connect Connector to Element
- Parameters:
connector_key (RigElementKey) –
target_key (RigElementKey) –
- Returns:
out_error_message (Text):
- Return type:
Text or None
- connect_connector_to_element(connector_key, target_key, setup_undo=True, auto_resolve_other_connectors=True, check_valid_connection=True) bool ¶
Connect Connector to Element
- Parameters:
connector_key (RigElementKey) –
target_key (RigElementKey) –
setup_undo (bool) –
auto_resolve_other_connectors (bool) –
check_valid_connection (bool) –
- Return type:
- disconnect_connector(connector_key, disconnect_sub_modules=False, setup_undo=True) bool ¶
Disconnect Connector
- Parameters:
connector_key (RigElementKey) –
disconnect_sub_modules (bool) –
setup_undo (bool) –
- Return type:
- disconnect_cyclic_connectors(setup_undo=True) Array[RigElementKey] ¶
Disconnect Cyclic Connectors
- Parameters:
setup_undo (bool) –
- Return type:
- mirror_module(module_path, settings, setup_undo=True) str ¶
Mirror Module
- Parameters:
module_path (str) –
settings (RigVMMirrorSettings) –
setup_undo (bool) –
- Return type:
- set_config_value_in_module(module_path, variable_name, value, setup_undo=True) bool ¶
Set Config Value in Module