Navigation
API > API/Plugins > API/Plugins/RigVM > API/Plugins/RigVM/RigVMCore
Inheritance Hierarchy
- FRigVMDispatchFactory
- FRigDispatch_FromString
- FRigDispatch_ToString
- FRigDispatchFactory
- FRigDispatch_AnimAttributeBase
- FRigDispatch_GetAnimAttribute
- FRigDispatch_SetAnimAttribute
- FRigDispatch_GetUserData
- FRigDispatch_MetadataBase
- FRigDispatch_GetMetadata
- FRigDispatch_GetModuleMetadata
- FRigDispatch_SetMetadata
- FRigDispatch_SetModuleMetadata
- FRigVMDispatch_CastEnumToInt
- FRigVMDispatch_CastIntToEnum
- FRigVMDispatch_CastObject
- FRigVMDispatch_CoreBase
- FRigVMDispatch_ArrayBase
- FRigVMDispatch_ArrayBaseMutable
- FRigVMDispatch_ArrayAppend
- FRigVMDispatch_ArrayUnion
- FRigVMDispatch_ArrayIterator
- FRigVMDispatch_ArrayRemove
- FRigVMDispatch_ArrayReset
- FRigVMDispatch_ArrayReverse
- FRigVMDispatch_ArraySetAtIndex
- FRigVMDispatch_ArrayAdd
- FRigVMDispatch_ArrayInsert
- FRigVMDispatch_ArraySetNum
- FRigVMDispatch_ArrayClone
- FRigVMDispatch_ArrayDifference
- FRigVMDispatch_ArrayIntersection
- FRigVMDispatch_ArrayFind
- FRigVMDispatch_ArrayGetAtIndex
- FRigVMDispatch_ArrayGetNum
- FRigVMDispatch_ArrayMake
- FRigVMDispatch_Constant
- FRigVMDispatch_CoreEquals
- FRigVMDispatch_CoreNotEquals
- FRigVMDispatch_If
- FRigVMDispatch_MakeStruct
- FRigVMDispatch_BreakStruct
- FRigVMDispatch_SelectInt32
- FRigVMDispatch_SwitchInt32
- FRigVMDispatch_Print
References
| Module | RigVM |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMCore/RigVMDispatchFactory.h |
| Include | #include "RigVMCore/RigVMDispatchFactory.h" |
Syntax
USTRUCT ()
struct FRigVMDispatchFactory
Remarks
A factory to generate a template and its dispatch functions
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< int32, TSharedPtr< TArray< FName > > > | ArgumentNamesMap | ||
| FCriticalSection * | ArgumentNamesMutex | ||
| const FRigVMTemplate * | CachedTemplate | ||
| UScriptStruct * | FactoryScriptStruct |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRigVMTemplateArgumentInfo > | BuildArgumentListFromPrimaryArgument
(
const TArray< FRigVMTemplateArgumentInfo >& InInfos, |
For each type defined in the primary argument, this function will call GetPermutationsFromArgumentType to construct an array of arguments with the appropiate permutations | |
| bool | CheckArgumentType
(
bool bCondition, |
||
| bool | CopyProperty
(
const FProperty* InTargetProperty, |
||
| FRigVMFunctionPtr | CreateDispatchFunction
(
const FRigVMTemplateTypeMap& InTypes |
||
| FRigVMFunctionPtr | CreateDispatchFunction_NoLock
(
const FRigVMTemplateTypeMap& InTypes |
||
| TArray< FRigVMFunction > | CreateDispatchPredicates
(
const FRigVMTemplateTypeMap& InTypes |
||
| TArray< FRigVMFunction > | CreateDispatchPredicates_NoLock
(
const FRigVMTemplateTypeMap& InTypes |
||
| TArray< FName > | Returns the names of the input aggregate arguments | ||
| TArray< FName > | Returns the names of the output aggregate arguments | ||
| FString | GetArgumentDefaultValue
(
const FName& InArgumentName, |
Returns the default value for an argument | |
| const TArray< FRigVMTemplateArgumentInfo > & | Returns the arguments of the template | ||
| 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. | |
| FText | GetArgumentTooltip
(
const FName& InArgumentName, |
Returns the tooltip for an argument | |
| FString | GetCategory () |
Returns the category this factory is under. | |
| const TArray< FName > & | GetControlFlowBlocks
(
const FRigVMDispatchContext& InContext |
Returns the control flow blocks of this dispatch | |
| const TArray< FName > & | GetControlFlowBlocks_Impl
(
const FRigVMDispatchContext& InContext |
||
| FString | GetDefaultValueForStruct
(
const T& InValue |
||
| FString | GetDefaultValueForStruct
(
const T& InValue |
||
| FRigVMFunctionPtr | GetDispatchFunctionImpl
(
const FRigVMTemplateTypeMap& InTypes |
||
| TArray< FRigVMFunction > | GetDispatchPredicatesImpl
(
const FRigVMTemplateTypeMap& InTypes |
||
| FName | GetDisplayNameForArgument
(
const FName& InArgumentName |
Returns the display name text for an argument. | |
| TArray< FRigVMExecuteArgument > | GetExecuteArguments
(
const FRigVMDispatchContext& InContext |
Returns the execute arguments of the template | |
| const TArray< FRigVMExecuteArgument > & | GetExecuteArguments_Impl
(
const FRigVMDispatchContext& InContext |
||
| UScriptStruct * | Returns the execute context support for this dispatch factory. | ||
| FName | Returns the name of the factory template | ||
| FString | GetKeywords () |
Returns the keywords used for looking up this factory. | |
| FName | GetNextAggregateName
(
const FName& InLastAggregatePinName |
Returns the next name to be used for an aggregate pin | |
| FLinearColor | GetNodeColor () |
Returns the color of the node for a given type set. | |
| FString | GetNodeTitle
(
const FRigVMTemplateTypeMap& InTypes |
Returns the title of the node for a given type set. | |
| FText | GetNodeTooltip
(
const FRigVMTemplateTypeMap& InTypes |
Returns the tooltip for the node | |
| FRigVMFunctionPtr | GetOrCreateDispatchFunction
(
const FRigVMTemplateTypeMap& InTypes |
Returns the dispatch function for a given type set | |
| FString | GetPermutationName
(
const FRigVMTemplateTypeMap& InTypes |
Returns the name of the permutation for a given set of types | |
| FString | GetPermutationNameImpl
(
const FRigVMTemplateTypeMap& InTypes |
Returns the name of the permutation for a given set of types | |
| bool | GetPermutationsFromArgumentType
(
const FName& InArgumentName, |
Returns the new permutations argument types after a new type is defined for one argument | |
| UScriptStruct * | Returns the struct for this dispatch factory | ||
| const FRigVMTemplate * | GetTemplate () |
Builds and returns the template | |
| FName | Returns the name of the factory template | ||
| FRigVMStructUpgradeInfo | GetUpgradeInfo
(
const FRigVMTemplateTypeMap& InTypes, |
Returns the upgrade info to use for this factory | |
| bool | HasArgumentMetaData
(
const FName& InArgumentName, |
Returns true if the factory provides metadata for a given argument. | |
| const bool | IsControlFlowBlockSliced
(
const FName& InBlockName |
Returns true if a given control flow block needs to be sliced | |
| bool | IsControlFlowDispatch
(
const FRigVMDispatchContext& InContext |
Returns true if the dispatch is a control flow dispatch | |
| bool | IsLazyInputArgument
(
const FName& InArgumentName |
Returns true if the argument is lazy. | |
| bool | IsSingleton () |
Returns true if the dispatch uses the same function ptr for all permutations | |
| 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) | |
| void | Registered needed types during registration of the factory | ||
| bool | SupportsExecuteContextStruct
(
const UScriptStruct* InExecuteContextStruct |
Returns truf if this factory supports a given executecontext struct. | |
| const TArray< FName > * | UpdateArgumentNameCache
(
int32 InNumberOperands |
||
| const TArray< FName > * | UpdateArgumentNameCache_NoLock
(
int32 InNumberOperands |
Constants
| Name | Description |
|---|---|
| DispatchPrefix | |
| GetTemplateMutex | |
| TrueString |