URigVMFunctionLibrary::ForEachReferenceSoftPtr

Iterator function to invoke a lambda / [TFunction](API\Runtime\Core\GenericPlatform\TFunction) for each reference of a function

Windows
MacOS
Linux

References

Module

RigVMDeveloper

Header

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

Include

#include "RigVMModel/RigVMFunctionLibrary.h"

Source

/Engine/Source/Developer/RigVMDeveloper/Private/RigVMModel/RigVMFunctionLibrary.cpp

Syntax

void ForEachReferenceSoftPtr
(
    const FName & InFunctionName,
    TFunction< void< URigVMFunctionReferenceNode >)> PerReferenceFunction
) const

Remarks

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

Parameters

Parameter

Description

InFunctionName

The function name to iterate all references for

PerReferenceFunction

The function to invoke for each reference