unreal.ControlRig
¶
- class unreal.ControlRig(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
Object
Runs logic for mapping input data to transforms (the “Rig”)
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: ControlRig.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_user_data
(Array[AssetUserData]): [Read-Write] Asset User Data: Array of user data stored with the assetinteraction_rig
(ControlRig): [Read-Write] Interaction Riginteraction_rig_class
(type(Class)): [Read-Write] Interaction Rig Classon_control_selected_bp
(OnControlSelectedBP): [Read-Write] On Control Selected BP
- create_transformable_control_handle(outer, control_name) TransformableControlHandle ¶
- Creates a transformable control handle for the specified control to be used by the constraints system. Should use the UObject from
ConstraintsScriptingLibrary::GetManager(UWorld* InWorld)
- Parameters:
- Return type:
- execute(state, event_name) bool ¶
Execute
- Parameters:
state (ControlRigState) –
event_name (Name) –
- Return type:
- classmethod find_control_rigs(outer, optional_class) Array[ControlRig] ¶
Find Control Rigs
- Parameters:
- Return type:
- get_current_frames_per_second() float ¶
Returns the current frames per second (this may change over time)
- Return type:
- get_hierarchy() RigHierarchy ¶
Get Hierarchy
- Return type:
- get_script_accessible_variables() Array[Name] ¶
Returns the names of variables accessible in scripting
- property interaction_rig: ControlRig¶
[Read-Write] Interaction Rig
- Type:
- property on_control_selected_bp: OnControlSelectedBP¶
[Read-Write] On Control Selected BP
- Type:
(OnControlSelectedBP)
- set_absolute_and_delta_time(absolute_time, delta_time) None ¶
Set the current absolute and delta times
- set_frames_per_second(frames_per_second) None ¶
Set the current fps
- Parameters:
frames_per_second (float) –