Navigation
API > API/Plugins > API/Plugins/RigVM
A context struct passed to FRigVMStruct::OnUnitNodeCreated
| Name | FRigVMUnitNodeCreatedContext |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMStruct.h |
| Include Path | #include "RigVMCore/RigVMStruct.h" |
Syntax
struct FRigVMUnitNodeCreatedContext
Structs
| Name | Remarks |
|---|---|
| FScope |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllExternalVariablesDelegate | FRigVMGetExternalVariablesDelegate | RigVMCore/RigVMStruct.h | ||
| BindPinToExternalVariableDelegate | FRigVMBindPinToExternalVariableDelegate | RigVMCore/RigVMStruct.h | ||
| Controller | URigVMController * | RigVMCore/RigVMStruct.h | ||
| CreateExternalVariableDelegate | FRigVMCreateExternalVariableDelegate | RigVMCore/RigVMStruct.h | ||
| Host | IRigVMClientHost * | RigVMCore/RigVMStruct.h | ||
| NodeName | FName | RigVMCore/RigVMStruct.h | ||
| Reason | ERigVMNodeCreatedReason | RigVMCore/RigVMStruct.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName AddExternalVariable
(
const FRigVMExternalVariable& InVariableToCreate, |
Creates a new variable within the host of this VM | RigVMCore/RigVMStruct.h | |
| Binds a pin to an external variable on the created node | RigVMCore/RigVMStruct.h | ||
| Returns the name of the first variable given a type (or NAME_None if not found) | RigVMCore/RigVMStruct.h | ||
| Returns the name of the first variable given a type (or NAME_None if not found) | RigVMCore/RigVMStruct.h | ||
| Returns the name of the first variable given a type (or NAME_None if not found) | RigVMCore/RigVMStruct.h | ||
| Returns the name of the first variable given a type (or NAME_None if not found) | RigVMCore/RigVMStruct.h | ||
FName FindFirstVariableOfType
(
FName InCPPTypeName |
Returns the name of the first variable given a(or NAME_None if not found) | RigVMCore/RigVMStruct.h | |
FRigVMExternalVariable FindVariable
(
FName InVariableName |
Returns a variable given a name (or a non-valid variable if not found) | RigVMCore/RigVMStruct.h | |
FRigVMGetExternalVariablesDelegate & GetAllExternalVariablesDelegate() |
RigVMCore/RigVMStruct.h | ||
FRigVMBindPinToExternalVariableDelegate & GetBindPinToExternalVariableDelegate() |
RigVMCore/RigVMStruct.h | ||
URigVMController * GetController() |
RigVMCore/RigVMStruct.h | ||
FRigVMCreateExternalVariableDelegate & GetCreateExternalVariableDelegate() |
RigVMCore/RigVMStruct.h | ||
TArray< FRigVMExternalVariable > GetExternalVariables() |
Returns all currently existing external variables | RigVMCore/RigVMStruct.h | |
IRigVMClientHost * GetHost() |
RigVMCore/RigVMStruct.h | ||
FName GetNodeName() |
Get the name of this node | RigVMCore/RigVMStruct.h | |
ERigVMNodeCreatedReason GetReason() |
Get the reason why this node was created | RigVMCore/RigVMStruct.h | |
bool IsValid() |
Returns true if this context is valid to use | RigVMCore/RigVMStruct.h |