FRigVMUnitNodeCreatedContext

A context struct passed to [FRigVMStruct::OnUnitNodeCreated](API\Runtime\RigVM\RigVMCore\FRigVMStruct\OnUnitNodeCreated)

Choose your operating system:

Windows

macOS

Linux

References

Module

RigVM

Header

/Engine/Source/Runtime/RigVM/Public/RigVMCore/RigVMStruct.h

Include

#include "RigVMCore/RigVMStruct.h"

Syntax

struct FRigVMUnitNodeCreatedContext

Remarks

A context struct passed to FRigVMStruct::OnUnitNodeCreated

Functions

Name Description

Public function

FName

 

AddExternalVariable

(
    const FRigVMExternalVariable& InVa...,
    FString InDefaultValue
)

Creates a new variable within the host of this VM

Public function

bool

 

BindPinToExternalVariable

(
    FString InPinPath,
    FString InVariablePath
)

Binds a pin to an external variable on the created node

Public function Const

FName

 

FindFirstVariableOfType()

Returns the name of the first variable given a type (or NAME_None if not found)

Public function Const

FName

 

FindFirstVariableOfType()

Returns the name of the first variable given a type (or NAME_None if not found)

Public function Const

FName

 

FindFirstVariableOfType()

Returns the name of the first variable given a type (or NAME_None if not found)

Public function Const

FName

 

FindFirstVariableOfType()

Returns the name of the first variable given a type (or NAME_None if not found)

Public function Const

FName

 

FindFirstVariableOfType

(
    FName InCPPTypeName
)

Returns the name of the first variable given a(or NAME_None if not found)

Public function Const

FRigVMExtern...

 

FindVariable

(
    FName InVariableName
)

Returns a variable given a name (or a non-valid variable if not found)

Public function

FRigVMGetExt...

 

GetAllExternalVariablesDelegate()

Public function

FRigVMBindPi...

 

GetBindPinToExternalVariableDelegate()

Public function

FRigVMCreate...

 

GetCreateExternalVariableDelegate()

Public function Const

TArray< FRig...

 

GetExternalVariables()

Returns all currently existing external variables

Public function Const

FName

 

GetNodeName()

Get the name of this node

Public function Const

ERigVMNodeCr...

 

GetReason()

Get the reason why this node was created

Public function Const

bool

 

IsValid()

Returns true if this context is valid to use

Classes

Name

Description

Public struct

FScope