Navigation
API > API/Plugins > API/Plugins/AnimNextStateTree
Helper struct to store parent RigVM variable indicies,.
This is needed as the internal variables we read / write will be offset somewhere after the public vars in the data interface.
| Name | FRigVariableIndexCache |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/AnimNextStateTree/Source/AnimNextStateTree/Public/RigVMUtils/RigVariableIndexCache.h |
| Include Path | #include "RigVMUtils/RigVariableIndexCache.h" |
Syntax
struct FRigVariableIndexCache
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArrayView< const uint8 > GetVMArgumentIndexes() |
Gets Argument Indexes, you are responsible for checking if initialized first | RigVMUtils/RigVariableIndexCache.h | |
int32 GetVMResultIndex() |
Gets Result Index, you are responsible for checking if initialized first | RigVMUtils/RigVariableIndexCache.h | |
bool IsIndexCacheInitialized() |
True if VM variables are indexed | RigVMUtils/RigVariableIndexCache.h | |
bool TryPopulateIndexCache
(
const FRigVMMemoryStorageStruct& ParamData, |
True if successfully populated index cache from Data Interface, or already populated | RigVMUtils/RigVariableIndexCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString MakeFunctionWrapperEventName
(
FName InFunctionName |
@TODO: Relocate, must be in sync with UncookedOnlyUtils.h | RigVMUtils/RigVariableIndexCache.h | |
static FString MakeFunctionWrapperVariableName
(
FName InFunctionName, |
@TODO: Relocate, must be in sync with UncookedOnlyUtils.h | RigVMUtils/RigVariableIndexCache.h |