Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusNodeGraph
Description
Re-order the graph relative to the other graphs. The insert location is relative to the graph list minus the graph being moved.
Only trigger graphs can be moved around.
Virtual Inheritance
- IOptimusNodeGraphCollectionOwner::MoveGraphDirect → UOptimusNodeGraph::MoveGraphDirect
| Name | MoveGraphDirect |
| Type | function |
| Header File | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusNodeGraph.h |
| Include Path | #include "OptimusNodeGraph.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusNodeGraph.cpp |
UFUNCTION (BlueprintCallable, Category=OptimusNodeGraph)
virtual bool MoveGraphDirect
(
UOptimusNodeGraph * InGraph,
int32 InInsertBefore
)
true if the graph was successfully moved.
Parameters
| Name | Remarks |
|---|---|
| InGraph | The graph to move, owned by this collection. |
| InInsertBefore | The order at which the move the graph to. This inserts the given graph before the graph already occupying this location. |