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 | |
|---|---|---|---|
| ERigVMPinDirection | Direction | ||
| int32 | Index | ||
| FName | Name | ||
| TArray< ETypeCategory > | TypeCategories | ||
| TArray< TRigVMTypeIndex > | TypeIndices | ||
| TMap< TRigVMTypeIndex, TArray< int32 > > | TypeToPermutations |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor | |||
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 | |||
| 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 | |
| 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. | |
| const TArray< TRigVMTypeIndex > & | Returns the flat list of types (including duplicates) of this argument | ||
| 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 | Serialize. | ||
| 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 |