Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMCore
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMTemplate.h |
| Include | #include "RigVMCore/RigVMTemplate.h" |
Syntax
struct FRigVMTemplateArgument
Remarks
The template argument represents a single parameter in a function call and all of its possible types
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseCategories | ||
| ERigVMPinDirection | Direction | ||
| TFunction< bool(const TRigVMTypeIndex &)> | FilterType | ||
| int32 | Index | ||
| FName | Name | ||
| TArray< ETypeCategory > | TypeCategories | ||
| TArray< TRigVMTypeIndex > | TypeIndices | ||
| TMap< TRigVMTypeIndex, TArray< int32 > > | TypeToPermutations |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
FRigVMTemplateArgument
(
FProperty* InProperty |
|||
FRigVMTemplateArgument
(
const FName& InName, |
|||
FRigVMTemplateArgument
(
FProperty* InProperty, |
Constructor from a property. this forces the type to be created | ||
FRigVMTemplateArgument
(
const FName& InName, |
|||
FRigVMTemplateArgument
(
const FName& InName, |
|||
FRigVMTemplateArgument
(
const FName& InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTypeIndex
(
const TRigVMTypeIndex InTypeIndex |
||
| void | EnsureValidExecuteType
(
FRigVMRegistry& InRegistry |
||
| int32 | FindTypeIndex
(
const TRigVMTypeIndex InTypeIndex |
||
| void | ForEachType
(
TFunction< bool(const TRigVMTypeIndex InType)>&& InCallback |
||
| void | GetAllTypes
(
TArray< TRigVMTypeIndex >& OutTypes |
Returns the flat list of types (including duplicates) of this argument | |
| EArrayType | GetArrayType () |
Returns true if the argument uses an array container | |
| ERigVMPinDirection | GetDirection () |
Returns the direction of the argument | |
| const FName & | GetName () |
Returns the name of the argument | |
| int32 | GetNumTypes () |
||
| const TArray< int32 > & | GetPermutations
(
const TRigVMTypeIndex InType |
Get the map of types to permutation indices. | |
| TArray< TRigVMTypeIndex > | GetSupportedTypeIndices
(
const TArray< int32 >& InPermutationIndices |
Returns an array of all of the supported types | |
| TArray< FString > | GetSupportedTypeStrings
(
const TArray< int32 >& InPermutationIndices |
Returns an array of all supported types as strings. this is used for automated testing only. | |
| TRigVMTypeIndex | GetTypeIndex
(
const int32 InIndex |
||
| int32 | IndexOfByPredicate
(
Predicate Pred |
||
| void | InvalidatePermutations
(
const TRigVMTypeIndex InType |
||
| bool | IsExecute () |
Returns true if this argument is an execute | |
| bool | IsSingleton
(
const TArray< int32 >& InPermutationIndices |
Returns true if an argument is singleton (same type for all variants) | |
| void | RemoveType
(
const int32 InIndex |
||
| bool | SupportsTypeIndex
(
TRigVMTypeIndex InTypeIndex, |
Returns true if this argument supports a given type across a set of permutations | |
| void |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EArrayType | |||
| ETypeCategory |
Typedefs
| Name | Description |
|---|---|
| FTypeFilter |