unreal.MovieGraphNode

class unreal.MovieGraphNode(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

This is a base class for all nodes that can exist in the UMovieGraphConfig network. In the editor, each node in the network will have an editor-only representation too which contains data about it’s visual position in the graph, comments, etc.

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieGraphNode.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dynamic_properties (InstancedPropertyBag): [Read-Write] Properties which can be dynamically declared on the node (vs. native properties which are always present).

get_exposed_properties() Array[MovieGraphPropertyInfo]

Gets the information about properties which are currently exposed as pins on the node.

Return type:

Array[MovieGraphPropertyInfo]

get_input_pin(pin_label, pin_requirement=MovieGraphPinQueryRequirement.BUILT_IN_OR_DYNAMIC) MovieGraphPin

Gets the input pin with the specified name, or nullptr if one could not be found. Most pins on a node are “built-in”, meaning they ship with the node. Dynamic pins (pins which are not built-in) can potentially have the same name as a built-in (eg, the option pins on the Select node). To disambiguate between built-in and dynamic pins, specify bIsBuiltInPin = false if trying to fetch a pin that is not built-in.

Parameters:
Return type:

MovieGraphPin

get_node_comment() str

Get Node Comment

Return type:

str

get_node_pos_x() int32

Get Node Pos X

Return type:

int32

get_node_pos_y() int32

Get Node Pos Y

Return type:

int32

get_output_pin(pin_label) MovieGraphPin

Gets the output pin with the specified name, or nullptr if one could not be found.

Parameters:

pin_label (Name) –

Return type:

MovieGraphPin

is_comment_bubble_pinned() bool

Is Comment Bubble Pinned

Return type:

bool

is_comment_bubble_visible() bool

Is Comment Bubble Visible

Return type:

bool

set_is_comment_bubble_pinned(is_pinned) None

Set Is Comment Bubble Pinned

Parameters:

is_pinned (uint8) –

set_is_comment_bubble_visible(is_visible) None

Set Is Comment Bubble Visible

Parameters:

is_visible (uint8) –

set_node_comment(node_comment) None

Set Node Comment

Parameters:

node_comment (str) –

set_node_pos_x(node_pos_x) None

Set Node Pos X

Parameters:

node_pos_x (int32) –

set_node_pos_y(node_pos_y) None

Set Node Pos Y

Parameters:

node_pos_y (int32) –

toggle_promote_property_to_pin(property_name) None

Toggles the promotion of the property with the given name to a pin on the node.

Parameters:

property_name (Name) –