Navigation
API > API/Plugins > API/Plugins/RigVM
Structure used to upgrade to a new implementation of a node
| Name | FRigVMStructUpgradeInfo |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMStructUpgradeInfo.h |
| Include Path | #include "RigVMCore/RigVMStructUpgradeInfo.h" |
Syntax
struct FRigVMStructUpgradeInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigVMCore/RigVMStructUpgradeInfo.h | |||
FRigVMStructUpgradeInfo
(
const Old& InOld, |
RigVMCore/RigVMStructUpgradeInfo.h | ||
FRigVMStructUpgradeInfo
(
UScriptStruct* InOldDispatchStruct, |
RigVMCore/RigVMStructUpgradeInfo.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AggregatePins | TArray< FString > | Aggregate pins to add. | RigVMCore/RigVMStructUpgradeInfo.h | |
| DefaultValues | TMap< FName, FString > | New sets of default values. | RigVMCore/RigVMStructUpgradeInfo.h | |
| InputLinkMap | TMap< FString, FString > | Remapping info for re-linking inputs Entries can be root pins or sub pins | RigVMCore/RigVMStructUpgradeInfo.h | |
| NewDispatchFunction | FName | The new optional function name this upgrade info is targeting. | RigVMCore/RigVMStructUpgradeInfo.h | |
| NewStruct | UScriptStruct * | The new struct this upgrade info is targeting. | RigVMCore/RigVMStructUpgradeInfo.h | |
| NodePath | FString | The complete node path including models / collapse node. | RigVMCore/RigVMStructUpgradeInfo.h | |
| OldDispatchFunction | FName | The old optional function name this upgrade info originates from. | RigVMCore/RigVMStructUpgradeInfo.h | |
| OldStruct | UScriptStruct * | The old struct this upgrade info originates from. | RigVMCore/RigVMStructUpgradeInfo.h | |
| OutputLinkMap | TMap< FString, FString > | Remapping info for re-linking outputs Entries can be root pins or sub pins | RigVMCore/RigVMStructUpgradeInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Adds a new aggregate pin | RigVMCore/RigVMStructUpgradeInfo.h | ||
| Adds a pin to be remapped | RigVMCore/RigVMStructUpgradeInfo.h | ||
| Returns the aggregate pins to add | RigVMCore/RigVMStructUpgradeInfo.h | ||
| Returns the default value for a given pin | RigVMCore/RigVMStructUpgradeInfo.h | ||
| Returns the map for all default values | RigVMCore/RigVMStructUpgradeInfo.h | ||
UScriptStruct * GetNewStruct() |
Returns the new struct to upgrade to | RigVMCore/RigVMStructUpgradeInfo.h | |
UScriptStruct * GetOldStruct() |
Returns the old struct trying to be upgraded | RigVMCore/RigVMStructUpgradeInfo.h | |
bool IsValid() |
Returns true if this upgrade info can be applied | RigVMCore/RigVMStructUpgradeInfo.h | |
| Remaps a pin path based on our internals | RigVMCore/RigVMStructUpgradeInfo.h | ||
| Sets the default value for a given pin | RigVMCore/RigVMStructUpgradeInfo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRigVMTemplateTypeMap GetTypeMapFromStruct
(
UScriptStruct* InScriptStruct |
Returns a type map representing the struct members | RigVMCore/RigVMStructUpgradeInfo.h | |
static FRigVMStructUpgradeInfo MakeFromStructToFactory
(
UScriptStruct* InRigVMStruct, |
RigVMCore/RigVMStructUpgradeInfo.h |