Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel > API/Plugins/RigVMDeveloper/RigVMModel/Nodes
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMNode
- URigVMTemplateNode
- UDEPRECATED_RigVMArrayNode
- UDEPRECATED_RigVMIfNode
- UDEPRECATED_RigVMSelectNode
- URigVMDispatchNode
- URigVMFunctionEntryNode
- URigVMFunctionReturnNode
- URigVMLibraryNode
- URigVMCollapseNode
- URigVMAggregateNode
- URigVMFunctionReferenceNode
- URigVMUnitNode
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/Nodes/RigVMTemplateNode.h |
| Include | #include "RigVMModel/Nodes/RigVMTemplateNode.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigVMTemplateNode : public URigVMNode
Remarks
The Template Node represents an unresolved function. Template nodes can morph into all functions implementing the template's template.
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FRigVMFunction * | CachedFunction | ||
| const FRigVMTemplate * | CachedTemplate | ||
| FString | ResolvedFunctionName | ||
| int32 | ResolvedPermutation | ||
| FName | TemplateNotation |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< int32 > | FindPermutationsForTypes
(
const TArray< FRigVMTemplatePreferredType >& ArgumentTypes, |
||
| TArray< URigVMPin * > | GetAggregatePins
(
const ERigVMPinDirection& InDirection |
||
| FName | GetDisplayNameForPin
(
const FName& InRootPinName, |
Returns the display name for a pin | |
| FString | GetInitialDefaultValueForPin
(
const FName& InRootPinName, |
Returns a default value for pin if it is known | |
| FName | |||
| FName | GetNotation () |
Returns the notation of the node. | |
| const FRigVMFunction * | Returns the resolved function or nullptr if there are still unresolved pins left | ||
| TArray< int32 > | GetResolvedPermutationIndices
(
bool bAllowFloatingPointCasts |
Returns the resolved permutation indices for the template | |
| TArray< const FRigVMFunction * > | Returns the resolved functions for the template | ||
| UScriptStruct * | Returns the UStruct for this unit node (the struct declaring the RIGVM_METHOD) | ||
| const FRigVMTemplate * | GetTemplate () |
Returns the template used for this node | |
| FRigVMTemplateTypeMap | GetTemplatePinTypeMap
(
bool bIncludeHiddenPins, |
Returns a map of the resolved pin types. | |
| FRigVMTemplateTypeMap | GetTypesForPermutation
(
const int32 InPermutationIndex |
||
| bool | Returns true if the template is fully unresolved | ||
| bool | IsResolved () |
Returns true if the template node is resolved | |
| bool | IsSingleton () |
||
| bool | SupportsType
(
const URigVMPin* InPin, |
Returns true if a pin supports a given type | |
| 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 |
Overridden from URigVMNode
| Type | Name | Description | |
|---|---|---|---|
| TArray< URigVMPin * > | |||
| TArray< URigVMPin * > | |||
| FName | GetNextAggregateName
(
const FName& InLastAggregatePinName |
||
| FString | GetNodeTitle () |
Returns the title of this Node - used for UI. | |
| uint32 | |||
| FText | Returns the tooltip of this node. | ||
| FText | GetToolTipTextForPin
(
const URigVMPin* InPin |
||
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FRigVMTemplatePreferredType > | PreferredPermutationPairs_DEPRECATED | ||
| TArray< FString > | PreferredPermutationTypes_DEPRECATED | Indicates a preferred permutation using the types of the arguments Each element is in the format "ArgumentName:CPPType" |