unreal.MovieGraphPin¶
- class unreal.MovieGraphPin(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
ObjectMovie Graph Pin
C++ Source:
Plugin: MovieRenderPipeline
Module: MovieRenderPipelineCore
File: MovieGraphPin.h
Editor Properties: (see get_editor_property/set_editor_property)
edges(Array[MovieGraphEdge]): [Read-Write] A list of edges between pins. This is marked as TextExportTransient so that when we copy/paste nodes, we don’t copy the edges, as they are rebuilt after paste based on the editor graph connections.node(MovieGraphNode): [Read-Write] The node that this pin belongs to.properties(MovieGraphPinProperties): [Read-Write]
- can_create_connection(other_pin) bool¶
Can Create Connection
- Parameters:
other_pin (MovieGraphPin)
- Return type:
- edge_count() int32¶
Edge Count
- Return type:
int32
- property edges: None¶
[Read-Only] A list of edges between pins. This is marked as TextExportTransient so that when we copy/paste nodes, we don’t copy the edges, as they are rebuilt after paste based on the editor graph connections.
- Type:
- get_all_connected_pins() Array[MovieGraphPin]¶
Gets all connected pins.
- Return type:
- get_connected_nodes() Array[MovieGraphNode]¶
Utility function for scripting which gathers all of the nodes connected to this particular pin. Equivalent to looping through all of the edges, getting the connected pin, and then getting the node associated with that pin.
- Return type:
- get_first_connected_pin() MovieGraphPin¶
Gets the first pin connected to this pin. Returns nullptr if no valid connection exists.
- Return type:
- is_connection_to_branch_allowed(other_pin) Text or None¶
Determines if the connection between this pin and OtherPin follows branch restriction rules. OutError is populated with an error if the connection should be rejected and the function will return false.
- Parameters:
other_pin (MovieGraphPin)
- Returns:
out_error (Text):
- Return type:
Text or None
- is_pin_direction_compatible_with(other_pin) bool¶
Is Pin Direction Compatible With
- Parameters:
other_pin (MovieGraphPin)
- Return type:
- property node: MovieGraphNode¶
[Read-Only] The node that this pin belongs to.
- Type:
- property properties: MovieGraphPinProperties¶
[Read-Only]
- Type: