unreal.ControlRigContextMenuContext

class unreal.ControlRigContextMenuContext(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: Object

Control Rig Context Menu Context

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRigEditor

  • File: ControlRigContextMenuContext.h

get_control_rig() ControlRig

Get the active control rig instance in the viewport

Return type:

ControlRig

get_control_rig_blueprint() ControlRigBlueprint

Get the control rig blueprint that we are editing

Return type:

ControlRigBlueprint

get_graph_node_context_menu_context() ControlRigGraphNodeContextMenuContext

Returns context for graph node context menu

Return type:

ControlRigGraphNodeContextMenuContext

get_rig_hierarchy_drag_and_drop_context() ControlRigRigHierarchyDragAndDropContext

Returns context for a drag & drop action that contains source and target element keys

Return type:

ControlRigRigHierarchyDragAndDropContext

get_rig_hierarchy_to_graph_drag_and_drop_context() ControlRigRigHierarchyToGraphDragAndDropContext

Returns context for the menu that shows up when drag and drop from Rig Hierarchy to the Rig Graph

Return type:

ControlRigRigHierarchyToGraphDragAndDropContext

is_alt_down() bool

Returns true if either alt key is down

Return type:

bool