Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper
The Template Node represents an unresolved function. Template nodes can morph into all functions implementing the template's template.
| Name | URigVMTemplateNode |
| Type | class |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/Nodes/RigVMTemplateNode.h |
| Include Path | #include "RigVMModel/Nodes/RigVMTemplateNode.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class URigVMTemplateNode : public URigVMNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → URigVMNode → URigVMTemplateNode
Derived Classes
URigVMTemplateNode derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
URigVMTemplateNode() |
Default constructor | RigVMModel/Nodes/RigVMTemplateNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< URigVMPin * > GetAggregatePins
(
const ERigVMPinDirection& InDirection |
RigVMModel/Nodes/RigVMTemplateNode.h | ||
| Returns a default value for pin if it is known | RigVMModel/Nodes/RigVMTemplateNode.h | ||
virtual FName GetMethodName() |
RigVMModel/Nodes/RigVMTemplateNode.h | ||
virtual FName GetNotation() |
Returns the notation of the node. | RigVMModel/Nodes/RigVMTemplateNode.h |
|
const FRigVMFunction * GetResolvedFunction() |
Returns the resolved function or nullptr if there are still unresolved pins left | RigVMModel/Nodes/RigVMTemplateNode.h | |
TArray< int32 > GetResolvedPermutationIndices
(
bool bAllowFloatingPointCasts |
Returns the resolved permutation indices for the template | RigVMModel/Nodes/RigVMTemplateNode.h | |
TArray< const FRigVMFunction * > GetResolvedPermutations() |
Returns the resolved functions for the template | RigVMModel/Nodes/RigVMTemplateNode.h | |
virtual UScriptStruct * GetScriptStruct() |
Returns the UStruct for this unit node (the struct declaring the RIGVM_METHOD) | RigVMModel/Nodes/RigVMTemplateNode.h |
|
virtual const FRigVMTemplate * GetTemplate() |
Returns the template used for this node | RigVMModel/Nodes/RigVMTemplateNode.h | |
FRigVMTemplateTypeMap GetTemplatePinTypeMap
(
bool bIncludeHiddenPins, |
Returns a map of the resolved pin types. | RigVMModel/Nodes/RigVMTemplateNode.h | |
bool IsFullyUnresolved() |
Returns true if the template is fully unresolved | RigVMModel/Nodes/RigVMTemplateNode.h |
|
bool IsResolved() |
Returns true if the template node is resolved | RigVMModel/Nodes/RigVMTemplateNode.h |
|
virtual bool IsSingleton() |
RigVMModel/Nodes/RigVMTemplateNode.h |
|
|
bool SupportsType
(
const URigVMPin* InPin, |
Returns true if a pin supports a given type | RigVMModel/Nodes/RigVMTemplateNode.h | |
TRigVMTypeIndex TryReduceTypesToSingle
(
const TArray< TRigVMTypeIndex >& InTypes, |
Tries to reduce the input types to a single type, if all are compatible Will prioritize the InPreferredType if available | RigVMModel/Nodes/RigVMTemplateNode.h |
Overridden from URigVMNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| RigVMModel/Nodes/RigVMTemplateNode.h | |||
| RigVMModel/Nodes/RigVMTemplateNode.h | |||
| Returns the display name for a pin | RigVMModel/Nodes/RigVMTemplateNode.h | ||
| RigVMModel/Nodes/RigVMTemplateNode.h | |||
virtual FString GetNodeTitle() |
Returns the title of this Node - used for UI. | RigVMModel/Nodes/RigVMTemplateNode.h | |
virtual uint32 GetStructureHash() |
RigVMModel/Nodes/RigVMTemplateNode.h | ||
virtual FText GetToolTipText() |
Returns the tooltip of this node. | RigVMModel/Nodes/RigVMTemplateNode.h | |
| RigVMModel/Nodes/RigVMTemplateNode.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
RigVMModel/Nodes/RigVMTemplateNode.h | ||
virtual void PreSave
(
FObjectPreSaveContext SaveContext |
RigVMModel/Nodes/RigVMTemplateNode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< int32 > FindPermutationsForTypes
(
const TArray< FRigVMTemplatePreferredType >& ArgumentTypes, |
RigVMModel/Nodes/RigVMTemplateNode.h | ||
FRigVMTemplateTypeMap GetTypesForPermutation
(
const int32 InPermutationIndex |
RigVMModel/Nodes/RigVMTemplateNode.h |
Overridden from URigVMNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void InvalidateCache() |
RigVMModel/Nodes/RigVMTemplateNode.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreferredPermutationPairs_DEPRECATED | TArray< FRigVMTemplatePreferredType > | RigVMModel/Nodes/RigVMTemplateNode.h | ||
| PreferredPermutationTypes_DEPRECATED | TArray< FString > | Indicates a preferred permutation using the types of the arguments Each element is in the format "ArgumentName:CPPType" | RigVMModel/Nodes/RigVMTemplateNode.h |