unreal.ModularRigController¶
- class unreal.ModularRigController(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectModular Rig Controller
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: ModularRigController.h
- add_target_to_array_connector(connector_key, target_key, setup_undo=True, auto_resolve_other_connectors=True, check_valid_connection=True) bool¶
Add Target to Array Connector
- Parameters:
connector_key (RigElementKey)
target_key (RigElementKey)
setup_undo (bool)
auto_resolve_other_connectors (bool)
check_valid_connection (bool)
- Return type:
- auto_connect_modules(module_names, 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_name, 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
- can_connect_connector_to_elements(connector_key, target_keys) Text or None¶
Can Connect Connector to Elements
- Parameters:
connector_key (RigElementKey)
target_keys (Array[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:
- connect_connector_to_elements(connector_key, target_keys, setup_undo=True, auto_resolve_other_connectors=True, check_valid_connection=True) bool¶
Connect Connector to Elements
- Parameters:
connector_key (RigElementKey)
target_keys (Array[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:
- get_connectors_for_module(module_name) Array[RigElementKey]¶
- Parameters:
module_name (Name) – The name of the module reference to return
- Returns:
Returns all of associated connectors for a given module name
- Return type:
- get_module_reference(module_name) RigModuleReference¶
- Parameters:
module_name (Name) – The name of the module reference to return
- Returns:
Returns the module for the given name
- Return type:
- import_module_settings_from_string(content, optional_module_names, setup_undo=True) bool¶
Import Module Settings from String
- mirror_module(module_name, settings, setup_undo=True) Name¶
Mirror Module
- Parameters:
module_name (Name)
settings (RigVMMirrorSettings)
setup_undo (bool)
- Return type:
- reset_config_value_in_module(module_name, path, clear_override=True, setup_undo=True) bool¶
Reset Config Value in Module
- set_config_value_in_module(module_name, variable_name, value, setup_undo=True) bool¶
Set Config Value in Module