Navigation
Unreal Engine C++ API Reference > Plugins > RigVMDeveloper > RigVMModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMNode
- UDEPRECATED_RigVMBranchNode
- URigVMCommentNode
- URigVMEnumNode
- URigVMInvokeEntryNode
- URigVMParameterNode
- URigVMRerouteNode
- URigVMTemplateNode
- UDEPRECATED_RigVMArrayNode
- UDEPRECATED_RigVMIfNode
- UDEPRECATED_RigVMSelectNode
- URigVMDispatchNode
- URigVMFunctionEntryNode
- URigVMFunctionReturnNode
- URigVMLibraryNode
- URigVMCollapseNode
- URigVMAggregateNode
- URigVMFunctionReferenceNode
- URigVMUnitNode
- URigVMVariableNode
References
Module | RigVMDeveloper |
Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMNode.h |
Include | #include "RigVMModel/RigVMNode.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigVMNode : public UObject
Remarks
The Node represents a single statement within a Graph. Nodes can represent values such as Variables / Parameters, they can represent Function Invocations or Control Flow logic statements (such as If conditions of For loops). Additionally Nodes are used to represent Comment statements. Nodes contain Pins to represent parameters for Function Invocations or Value access on Variables / Parameters.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | bHaltedAtThisNode | |
![]() ![]() ![]() |
bool | bHasBreakpoint | |
![]() ![]() |
TArray< FString > | DecoratorRootPinNames | |
![]() ![]() |
FLinearColor | NodeColor | |
![]() ![]() |
FString | NodeTitle | |
![]() ![]() |
FVector2D | Position | |
![]() ![]() ![]() |
FName | PreviousName | |
![]() ![]() |
FVector2D | Size |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
URigVMNode () |
Default constructor. |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~URigVMNode () |
Default destructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | AllowsLinksOn
(
const URigVMPin* InPin |
|
![]() ![]() ![]() ![]() ![]() |
bool | Returns true if the node can be upgraded | |
![]() ![]() ![]() ![]() ![]() |
bool | Returns true if this node can only exist once in a graph. | |
![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() ![]() |
bool | ||
![]() ![]() |
URigVMPin * | FindDecorator
(
const URigVMPin* InDecoratorPin |
|
![]() ![]() |
URigVMPin * | FindDecorator
(
const FName& InName |
|
![]() ![]() ![]() ![]() ![]() |
URigVMLibraryNode * | ||
![]() ![]() ![]() ![]() |
URigVMPin * | Returns a Pin given it's partial pin path below this node (for example: "Color.R") | |
![]() ![]() ![]() ![]() ![]() |
TArray< URigVMPin * > | ||
![]() ![]() ![]() ![]() ![]() |
TArray< URigVMPin * > | ||
![]() ![]() ![]() ![]() |
TArray< URigVMPin * > | Returns all of the Pins of this Node (including SubPins). | |
![]() ![]() ![]() |
const TArray< FName > & | Returns the names of the control flow blocks of this node | |
![]() ![]() |
TSharedPtr< FStructOnScope > | GetDecoratorInstance
(
const FName& InName, |
|
![]() ![]() |
TSharedPtr< FStructOnScope > | GetDecoratorInstance
(
const URigVMPin* InDecoratorPin, |
|
![]() ![]() |
const TArray< FString > & | ||
![]() ![]() ![]() ![]() |
TArray< URigVMPin * > | ||
![]() ![]() ![]() ![]() ![]() |
FName | GetEventName () |
Returns the name of the event. |
![]() ![]() ![]() ![]() ![]() |
URigVMPin * | ||
![]() ![]() ![]() ![]() |
URigVMGraph * | GetGraph () |
Returns the Graph of this Node. |
![]() ![]() ![]() ![]() |
int32 | Returns the graph nesting depth of this node. | |
![]() ![]() ![]() ![]() |
URigVMInjectionInfo * | Returns the injection info of this Node (or nullptr) | |
![]() ![]() |
double | GetInstructionMicroSeconds
(
const FRigVMExtendedExecuteContext& Context, |
Returns the accumulated duration of all of instructions for this node. |
![]() ![]() |
const TArray< int32 > & | GetInstructionsForVM
(
const FRigVMExtendedExecuteContext& Context, |
Returns the indices of associated instructions for this node. |
![]() ![]() ![]() |
TArray< int32 > | GetInstructionsForVMImpl
(
const FRigVMExtendedExecuteContext& Context, |
|
![]() ![]() ![]() |
int32 | GetInstructionVisitedCount
(
const FRigVMExtendedExecuteContext& Context, |
Returns the number of visited / run instructions for this node. |
![]() ![]() ![]() ![]() |
TArray< URigVMNode * > | Returns a list of Nodes connected as sources to this Node as the target. | |
![]() ![]() ![]() ![]() |
TArray< URigVMNode * > | Returns a list of Nodes connected as targets to this Node as the source. | |
![]() ![]() ![]() ![]() |
TArray< URigVMLink * > | GetLinks () |
Returns all links to any pin on this node. |
![]() ![]() ![]() ![]() ![]() |
FName | GetNextAggregateName
(
const FName& InLastAggregatePinName |
|
![]() ![]() ![]() ![]() ![]() |
FLinearColor | GetNodeColor () |
Returns the color of this node - used for UI. |
![]() ![]() ![]() ![]() |
int32 | GetNodeIndex () |
Returns the current index of the Node within the Graph. |
![]() ![]() ![]() ![]() |
FString | GetNodePath
(
bool bRecursive |
Returns the a . |
![]() ![]() ![]() ![]() ![]() |
FString | GetNodeTitle () |
Returns the title of this Node - used for UI. |
![]() ![]() ![]() ![]() ![]() |
URigVMPin * | ||
![]() ![]() ![]() ![]() ![]() |
const TArray< URigVMPin * > & | Returns all of the top-level orphaned Pins of this Node. | |
![]() ![]() ![]() ![]() ![]() |
const TArray< URigVMPin * > & | GetPins () |
Returns all of the top-level Pins of this Node. |
![]() ![]() ![]() ![]() |
FVector2D | GetPosition () |
Returns the 2d position of this node - used for UI. |
![]() ![]() ![]() ![]() |
FName | Returns the name of the node prior to the renaming. | |
![]() ![]() ![]() ![]() |
URigVMGraph * | GetRootGraph () |
Returns the top level / root Graph of this Node. |
![]() ![]() ![]() ![]() ![]() |
URigVMPin * | ||
![]() ![]() ![]() ![]() |
FVector2D | GetSize () |
Returns the 2d size of this node - used for UI. |
![]() ![]() ![]() |
uint32 | ||
![]() ![]() ![]() ![]() ![]() |
TArray< FRigVMUserWorkflow > | GetSupportedWorkflows
(
ERigVMUserWorkflowType InType, |
Returns all supported workflows of the node |
![]() ![]() ![]() ![]() ![]() |
FText | Returns the tooltip of this node. | |
![]() ![]() ![]() |
FText | GetToolTipTextForPin
(
const URigVMPin* InPin |
|
![]() ![]() ![]() |
FRigVMStructUpgradeInfo | ||
![]() ![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() ![]() ![]() |
bool | HasInputPin
(
bool bIncludeIO |
Returns true if the node has any input pins. |
![]() ![]() ![]() ![]() ![]() |
bool | HasIOPin () |
Returns true if the node has any io pins. |
![]() ![]() ![]() ![]() ![]() |
bool | HasLazyPin
(
bool bOnlyConsiderPinsWithLinks |
Returns true if the node has any lazily evaluating pins. |
![]() ![]() ![]() ![]() |
bool | Returns true if the node has orphaned pins - which leads to a compiler error. | |
![]() ![]() ![]() ![]() ![]() |
bool | HasOutputPin
(
bool bIncludeIO |
Returns true if the node has any output pins. |
![]() ![]() ![]() ![]() ![]() |
bool | HasPinOfDirection
(
ERigVMPinDirection InDirection |
Returns true if the node has any pins of the provided direction. |
![]() ![]() |
bool | Returns true if this node has an unknown type pin. | |
![]() ![]() |
void | ||
![]() ![]() ![]() ![]() ![]() |
bool | IsAggregate () |
|
![]() ![]() ![]() |
const bool | IsControlFlowBlockSliced
(
const FName& InBlockName |
Returns true if a control flow block requires slicing |
![]() ![]() ![]() ![]() |
bool | Return true if this node is a control flow node | |
![]() ![]() ![]() ![]() |
bool | IsDecoratorPin
(
FName InName |
|
![]() ![]() |
bool | IsDecoratorPin
(
const URigVMPin* InDecoratorPin |
|
![]() ![]() ![]() ![]() ![]() |
bool | Returns true if the node is defined as non-varying. | |
![]() ![]() ![]() ![]() ![]() |
bool | Returns true if the node is defined as non-varying. | |
![]() ![]() ![]() ![]() ![]() |
bool | IsEvent () |
Returns true if this Node is the beginning of a scope. |
![]() ![]() ![]() ![]() |
bool | IsInjected () |
Returns true if this is an injected node. |
![]() ![]() ![]() ![]() ![]() |
bool | ||
![]() ![]() ![]() ![]() |
bool | IsLinkedTo
(
URigVMNode* InNode |
Returns true if this Node is linked to another given node through any of the Nodes' Pins. |
![]() ![]() ![]() ![]() |
bool | IsLoopNode () |
Return true if this node is a loop node |
![]() ![]() ![]() ![]() ![]() |
bool | IsMutable () |
Returns true if this Node has side effects or internal state. |
![]() ![]() ![]() ![]() ![]() |
bool | IsPure () |
Returns true if this Node has no side-effects and no internal state. |
![]() ![]() ![]() ![]() |
bool | IsSelected () |
Returns true if this Node is currently selected. |
![]() ![]() ![]() ![]() |
bool | Returns true if this should be visible in the UI. | |
![]() ![]() |
FString | JoinNodePath
(
const TArray< FString >& InParts |
Joins a NodePath from to segments, so for example ["CollapseNodeA", "CollapseNodeB", "CollapseNodeC"] becomes "CollapseNodeA|CollapseNodeB|CollapseNodeC". |
![]() ![]() |
FString | JoinNodePath
(
const FString& Left, |
Joins a NodePath from to segments, so for example "CollapseNodeA" and "CollapseNodeB|CollapseNodeC" becomes "CollapseNodeA|CollapseNodeB|CollapseNodeC". |
![]() ![]() ![]() |
void | SetExecutionIsHaltedAtThisNode
(
const bool bValue |
|
![]() ![]() ![]() |
void | SetHasBreakpoint
(
const bool bValue |
|
![]() ![]() ![]() |
bool | ShouldInputPinComputeLazily
(
const URigVMPin* InPin |
|
![]() ![]() |
bool | SplitNodePath
(
const FString& InNodePath, |
Splits a NodePath into all segments, so for example "Node.Color.R" becomes ["Node", "Color", "R"]. |
![]() ![]() |
bool | SplitNodePathAtEnd
(
const FString& InNodePath, |
Splits a NodePath at the end, so for example "CollapseNodeA|CollapseNodeB|CollapseNodeC" becomes "CollapseNodeA|CollapseNodeB" and "CollapseNodeC". |
![]() ![]() |
bool | SplitNodePathAtStart
(
const FString& InNodePath, |
Splits a NodePath at the start, so for example "CollapseNodeA|CollapseNodeB|CollapseNodeC" becomes "CollapseNodeA" and "CollapseNodeB|CollapseNodeC". |
![]() |
void |
Constants
Name | Description |
---|---|
EmptyInstructionArray | |
NodeColorName |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
double | GetInstructionMicroSeconds
(
URigVM* InVM, |
Please, use GetInstructionMicroSeconds with Context param |
![]() ![]() |
const TArray< int32 > & | GetInstructionsForVM
(
URigVM* InVM, |
Please, use GetInstructionsForVM with Context param |
![]() ![]() ![]() |
int32 | GetInstructionVisitedCount
(
URigVM* InVM, |
Please, use GetInstructionVisitedCount with Context param |