UOptimusDeformer::AddGraph

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.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IOptimusNodeGraphCollectionOwner::AddGraph()

UOptimusDeformer::AddGraph()

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/OptimusDeformer.h

Include

#include "OptimusDeformer.h"

Source

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Private/OptimusDeformer.cpp

Syntax

virtual bool AddGraph
(
    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.

Returns

true if the graph was successfully added to the graph.

Parameters

Parameter

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.