unreal.RigVMFunctionLibrary

class unreal.RigVMFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: RigVMGraph

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

C++ Source:

  • Plugin: RigVM

  • Module: RigVMDeveloper

  • File: RigVMFunctionLibrary.h

find_function(function_name) RigVMLibraryNode

Finds a function by name

Parameters:

function_name (Name) –

Return type:

RigVMLibraryNode

find_function_for_node(node) RigVMLibraryNode

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

Parameters:

node (RigVMNode) –

Return type:

RigVMLibraryNode

get_functions() Array[RigVMLibraryNode]

Returns all of the stored functions

Return type:

Array[RigVMLibraryNode]

get_reference_paths_for_function(function_name) Array[str]

Returns all references for a given function name

Parameters:

function_name (Name) –

Return type:

Array[str]

get_references_for_function(function_name) Array[RigVMFunctionReferenceNode]

Returns all references for a given function name

Parameters:

function_name (Name) –

Return type:

Array[RigVMFunctionReferenceNode]