Navigation
API > API/Plugins > API/Plugins/RigVM
Pick from a list of values based on an integer index
| Name | FRigVMDispatch_SelectInt32 |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/RigVMDispatch_Select.h |
| Include Path | #include "RigVMFunctions/RigVMDispatch_Select.h" |
Syntax
USTRUCT (
Meta=(DisplayName="Select", Category="Execution", Keywords="Switch,Case", NodeColor="0,1,0,1"))
struct FRigVMDispatch_SelectInt32 : public FRigVMDispatch_CoreBase
Inheritance Hierarchy
- FRigVMDispatchFactory → FRigVMDispatch_CoreBase → FRigVMDispatch_SelectInt32
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRigVMDispatch_SelectInt32() |
RigVMFunctions/RigVMDispatch_Select.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| IndexName | FLazyName | RigVMFunctions/RigVMDispatch_Select.h | |
| ResultName | FLazyName | RigVMFunctions/RigVMDispatch_Select.h | |
| ValuesName | FLazyName | RigVMFunctions/RigVMDispatch_Select.h |
Functions
Public
Overridden from FRigVMDispatchFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetArgumentDefaultValue
(
const FName& InArgumentName, |
Returns the default value for an argument | RigVMFunctions/RigVMDispatch_Select.h | |
virtual const TArray< FRigVMTemplateArgumentInfo > & GetArgumentInfos
(
FRigVMRegistryHandle& InRegistry |
Returns the arguments of the template | RigVMFunctions/RigVMDispatch_Select.h | |
| Returns meta data on the property of the permutations. | RigVMFunctions/RigVMDispatch_Select.h | ||
virtual FName GetArgumentNameForOperandIndex
(
int32 InOperandIndex, |
Returns the name to use for the branch info / argument based on the operand index. | RigVMFunctions/RigVMDispatch_Select.h | |
virtual bool IsSingleton() |
Returns true if the dispatch uses the same function ptr for all permutations | RigVMFunctions/RigVMDispatch_Select.h | |
virtual FRigVMTemplateTypeMap OnNewArgumentType
(
const FName& InArgumentName, |
This function is deprecated, please use GetPermutationsFromArgumentType returns the new permutation argument types after a new type is defined for one argument this happens if types are being loaded later after this factory has already been deployed (like UUserDefinedStruct) | RigVMFunctions/RigVMDispatch_Select.h |
Protected
Overridden from FRigVMDispatchFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FRigVMFunctionPtr GetDispatchFunctionImpl
(
const FRigVMTemplateTypeMap& InTypes, |
RigVMFunctions/RigVMDispatch_Select.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Execute
(
FRigVMExtendedExecuteContext& InContext, |
RigVMFunctions/RigVMDispatch_Select.h |