Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMFunctions
Inheritance Hierarchy
- FRigVMDispatchFactory
- FRigVMDispatch_CoreBase
- FRigVMDispatch_SwitchInt32
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/RigVMDispatch_Switch.h |
| Include | #include "RigVMFunctions/RigVMDispatch_Switch.h" |
Syntax
USTRUCT&40;Meta&61;&40;DisplayName&61;"Switch", Category&61;"Execution", Keywords&61;"Case", NodeColor&61;"0,1,0,1"&41;&41;
struct FRigVMDispatch_SwitchInt32 : public FRigVMDispatch_CoreBase
Remarks
Run a branch based on an integer index
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Execute
(
FRigVMExtendedExecuteContext& InContext, |
||
| FName | GetCaseDisplayName
(
int32 InIndex |
||
| FName | GetCaseName
(
int32 InIndex |
Overridden from FRigVMDispatchFactory
| Type | Name | Description | |
|---|---|---|---|
| FString | GetArgumentDefaultValue
(
const FName& InArgumentName, |
Returns the default value for an argument | |
| FString | GetArgumentMetaData
(
const FName& InArgumentName, |
Returns meta data on the property of the permutations. | |
| FName | GetArgumentNameForOperandIndex
(
int32 InOperandIndex, |
Returns the name to use for the branch info / argument based on the operand index. | |
| const TArray< FRigVMTemplateArgument > & | GetArguments () |
Returns the arguments of the template | |
| const TArray< FName > & | GetControlFlowBlocks_Impl
(
const FRigVMDispatchContext& InContext |
||
| FRigVMFunctionPtr | GetDispatchFunctionImpl
(
const FRigVMTemplateTypeMap& InTypes |
||
| FName | GetDisplayNameForArgument
(
const FName& InArgumentName |
Returns the display name text for an argument. | |
| const TArray< FRigVMExecuteArgument > & | GetExecuteArguments_Impl
(
const FRigVMDispatchContext& InContext |
||
| bool | IsSingleton () |
Returns true if the dispatch uses the same function ptr for all permutations |