Navigation
API > API/Plugins > API/Plugins/RigVM
The template argument represents a single parameter in a function call and all of its possible types
| Name | FRigVMTemplateArgument |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMTemplate.h |
| Include Path | #include "RigVMCore/RigVMTemplate.h" |
Syntax
struct FRigVMTemplateArgument
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMTemplateArgument
(
FProperty* InProperty, |
Constructor from a property. this forces the type to be created | RigVMCore/RigVMTemplate.h | |
FRigVMTemplateArgument
(
const FName& InName, |
RigVMCore/RigVMTemplate.h | ||
FRigVMTemplateArgument
(
const FName& InName, |
RigVMCore/RigVMTemplate.h | ||
FRigVMTemplateArgument
(
const FName& InName, |
RigVMCore/RigVMTemplate.h | ||
FRigVMTemplateArgument
(
const FName& InName, |
RigVMCore/RigVMTemplate.h | ||
| Default constructor | RigVMCore/RigVMTemplate.h |
Structs
| Name | Remarks |
|---|---|
| CategoryViews |
Enums
Public
| Name | Remarks |
|---|---|
| EArrayType | |
| ETypeCategory |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTypeFilter | TBaseDelegate_OneParam< bool, const TRigVMTypeIndex & > | RigVMCore/RigVMTemplate.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddTypeIndex
(
const TRigVMTypeIndex InTypeIndex |
RigVMCore/RigVMTemplate.h | ||
int32 FindTypeIndex
(
const TRigVMTypeIndex InTypeIndex |
RigVMCore/RigVMTemplate.h | ||
void ForEachType
(
TFunction< bool(const TRigVMTypeIndex InType)>&& InCallback |
RigVMCore/RigVMTemplate.h | ||
void GetAllTypes
(
TArray< TRigVMTypeIndex >& OutTypes, |
Returns the flat list of types (including duplicates) of this argument | RigVMCore/RigVMTemplate.h | |
void GetAllTypes_NoLock
(
TArray< TRigVMTypeIndex >& OutTypes |
RigVMCore/RigVMTemplate.h | ||
EArrayType GetArrayType
(
const bool bLockRegistry |
Returns true if the argument uses an array container | RigVMCore/RigVMTemplate.h | |
EArrayType GetArrayType_NoLock() |
RigVMCore/RigVMTemplate.h | ||
ERigVMPinDirection GetDirection() |
Returns the direction of the argument | RigVMCore/RigVMTemplate.h | |
const FName & GetName() |
Returns the name of the argument | RigVMCore/RigVMTemplate.h | |
int32 GetNumTypes() |
RigVMCore/RigVMTemplate.h | ||
int32 GetNumTypes_NoLock() |
RigVMCore/RigVMTemplate.h | ||
const TArray< int32 > & GetPermutations
(
const TRigVMTypeIndex InType, |
Get the map of types to permutation indices. | RigVMCore/RigVMTemplate.h | |
const TArray< int32 > & GetPermutations_NoLock
(
const TRigVMTypeIndex InType |
RigVMCore/RigVMTemplate.h | ||
TArray< TRigVMTypeIndex > GetSupportedTypeIndices
(
const TArray< int32 >& InPermutationIndices |
Returns an array of all of the supported types | RigVMCore/RigVMTemplate.h | |
| Returns an array of all supported types as strings. this is used for automated testing only. | RigVMCore/RigVMTemplate.h | ||
TRigVMTypeIndex GetTypeIndex
(
const int32 InIndex, |
RigVMCore/RigVMTemplate.h | ||
TRigVMTypeIndex GetTypeIndex_NoLock
(
const int32 InIndex |
RigVMCore/RigVMTemplate.h | ||
int32 IndexOfByPredicate
(
Predicate Pred |
RigVMCore/RigVMTemplate.h | ||
void InvalidatePermutations
(
const TRigVMTypeIndex InType |
RigVMCore/RigVMTemplate.h | ||
bool IsExecute() |
Returns true if this argument is an execute | RigVMCore/RigVMTemplate.h | |
bool IsExecute_NoLock
(
const FRigVMRegistry_NoLock& InRegistry |
RigVMCore/RigVMTemplate.h | ||
bool IsSingleton
(
const TArray< int32 >& InPermutationIndices, |
Returns true if an argument is singleton (same type for all variants) | RigVMCore/RigVMTemplate.h | |
bool IsSingleton_NoLock
(
const TArray< int32 >& InPermutationIndices |
RigVMCore/RigVMTemplate.h | ||
void RemoveType
(
const int32 InIndex |
RigVMCore/RigVMTemplate.h | ||
bool SupportsTypeIndex
(
TRigVMTypeIndex InTypeIndex, |
Returns true if this argument supports a given type across a set of permutations | RigVMCore/RigVMTemplate.h | |
bool SupportsTypeIndex_NoLock
(
TRigVMTypeIndex InTypeIndex, |
RigVMCore/RigVMTemplate.h | ||
TOptional< TRigVMTypeIndex > TryToGetTypeIndex
(
const int32 InIndex, |
RigVMCore/RigVMTemplate.h | ||
TOptional< TRigVMTypeIndex > TryToGetTypeIndex_NoLock
(
const int32 InIndex |
RigVMCore/RigVMTemplate.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnsureValidExecuteType_NoLock
(
FRigVMRegistry_NoLock& InRegistry |
RigVMCore/RigVMTemplate.h | ||
void UpdateTypeToPermutationsSlow() |
RigVMCore/RigVMTemplate.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FRigVMTemplateArgument Make
(
FProperty* InProperty |
Static make function using a lock to create it | RigVMCore/RigVMTemplate.h | |
static FRigVMTemplateArgument Make_NoLock
(
FProperty* InProperty |
Static make function using a lock to create it | RigVMCore/RigVMTemplate.h | |
static FRigVMTemplateArgument Make_NoLock
(
FProperty* InProperty, |
RigVMCore/RigVMTemplate.h |