IOptimusNodeGraphCollectionOwner

Interface that provides a mechanism to identify and work with node graph owners.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IOptimusNodeGraphCollectionOwner

UOptimusDeformer

UOptimusNodeGraph

References

Module

OptimusDeveloper

Header

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

Include

#include "IOptimusNodeGraphCollectionOwner.h"

Syntax

class IOptimusNodeGraphCollectionOwner

Remarks

Interface that provides a mechanism to identify and work with node graph owners.

Functions

Name Description

Public function

bool

 

AddGraph

(
    UOptimusNodeGraph* InGraph,
    int32 InInsertBefore
)

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.

Public function

UOptimusNode...

 

CreateGraph

(
    EOptimusNodeGraphType InType,
    FName InName,
    TOptional< int32 > InInsertBefore
)

Create a new graph of a given type, with an optional name.

Public function Const

IOptimusNode...

 

GetCollectionOwner()

Returns the collection that owns this collection, or nullptr if this is the root collection

Public function Const

FString

 

GetCollectionPath()

Returns the path to this graph collection owner.

Public function Const

IOptimusNode...

 

GetCollectionRoot()

Returns root collection that owns all the collections

Public function Const

const TArray...

 

GetGraphs()

Returns all immediately owned node graphs.

Public function

bool

 

MoveGraph

(
    UOptimusNodeGraph* InGraph,
    int32 InInsertBefore
)

Re-order the graph relative to the other graphs.

Public function

bool

 

RemoveGraph

(
    UOptimusNodeGraph* InGraph,
    bool bDeleteGraph
)

Remove the given graph.

Public function

bool

 

RenameGraph

(
    UOptimusNodeGraph* InGraph,
    const FString& InNewName
)

Rename the given graph, subject to validation of the name.