URigVMFunctionLibrary

The Function Library is a graph used only to store the sub graphs used for functions.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

RigVMDeveloper

Header

/Engine/Source/Developer/RigVMDeveloper/Public/RigVMModel/RigVMFunctionLibrary.h

Include

#include "RigVMModel/RigVMFunctionLibrary.h"

Syntax

class URigVMFunctionLibrary : public URigVMGraph

Remarks

The Function Library is a graph used only to store the sub graphs used for functions.

Constructors

Name Description

Public function

URigVMFunctionLibrary()

Default constructor.

Functions

Name Description

Public function

void

 

ClearInvalidReferences()

Clear references to temp assets.

Public function Const

URigVMLibrar...

 

FindFunction

(
    const FName& InFunctionName
)

Finds a function by name.

Public function Const

URigVMLibrar...

 

FindFunctionForNode

(
    URigVMNode* InNode
)

Finds a function by a node within a function (or a sub graph of that)

Public function

URigVMLibrar...

 

FindPreviouslyLocalizedFunction

(
    URigVMLibraryNode* InFunctionT...
)

Returns a function that has been previously localized based on the provided function to localize.

Public function Const

void

 

ForEachReference

(
    const FName& InFunctionName,
    TFunction< void...
)

Iterator function to invoke a lambda / TFunction for each reference of a function

Public function Const

void

 

ForEachReferenceSoftPtr

(
    const FName& InFunctionName,
    TFunction< void< URi...
)

Iterator function to invoke a lambda / TFunction for each reference of a function

Public function Const

TArray< URig...

 

GetFunctions()

Returns all of the stored functions.

Public function

TArray< FStr...

 

GetReferencePathsForFunction

(
    const FName& InFunctionName
)

Returns all references for a given function name.

Public function

TArray< TSof...

 

GetReferencesForFunction

(
    const FName& InFunctionName
)

Returns all references for a given function name.

Public function

void

 

UpdateReferencesForReferenceNode

(
    URigVMFunctionReferenceNode* I...
)

Update the references list for a given reference node.

Overridden from URigVMGraph

Name Description

Public function Virtual Const

URigVMFuncti...

 

GetDefaultFunctionLibrary()

Returns the locally available function library.

Public function Virtual Const

FString

 

GetNodePath()

Returns the path of this graph as defined by its invoking nodes.