Navigation
API > API/Plugins > API/Plugins/OptimusCore > API/Plugins/OptimusCore/UOptimusDeformer
- IOptimusNodeGraphCollectionOwner::AddGraphDirect()
- UOptimusDeformer::AddGraphDirect()
References
| Module | OptimusCore |
| Header | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Public/OptimusDeformer.h |
| Include | #include "OptimusDeformer.h" |
| Source | /Engine/Plugins/Animation/DeformerGraph/Source/OptimusCore/Private/OptimusDeformer.cpp |
virtual bool AddGraphDirect
(
UOptimusNodeGraph * InGraph,
int32 InInsertBefore
)
Remarks
Takes an existing graph and adds it to this graph collection. If the graph cannot be added, the object remains unchanged and this function returns false. true if the graph was successfully added to the graph.
Parameters
| Name | Description |
|---|---|
| InGraph | The graph to add. |
| InInsertBefore | The index at which the insert the graph at. This inserts the given graph before the graph already occupying this location. |