unreal.OptimusNode

class unreal.OptimusNode(outer=None, name='None')

Bases: unreal.Object

Optimus Node

C++ Source:

  • Plugin: Optimus

  • Module: OptimusCore

  • File: OptimusNode.h

get_display_name() Text

Returns the display name to use on the graphical node in the graph editor.

Returns

The display name to show to the user.

Return type

Text

get_graph_position() Vector2D

Returns the position in the graph UI where the node is shown.

Returns

The coordinates of the node’s position.

Return type

Vector2D

get_node_category() Name

Returns the node class category. This is used for categorizing the node for display.

Returns

The node class category.

Return type

Name

get_node_name() Name

Returns the node class name. This name is immutable for the given node class.

Returns

The node class name.

Return type

Name

set_graph_position(position) bool

Sets the position in the graph UI that the node should be shown at.

Parameters

position (Vector2D) – The coordinates of the node’s position.

Returns

true if setting the position was successful.

Return type

bool