Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMGraph
- URigVMFunctionLibrary
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMGraph.h |
| Include | #include "RigVMModel/RigVMGraph.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigVMGraph : public UObject
Remarks
The Graph represents a Function definition using Nodes as statements. Graphs can be compiled into a URigVM using the FRigVMCompiler. Graphs provide access to its Nodes, Pins and Links.
Constructors
| Type | Name | Description | |
|---|---|---|---|
URigVMGraph () |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanLink
(
URigVMPin* InSourcePin, |
||
| void | ClearAST
(
bool bClearDiagnostics, |
||
| bool | ContainsLink
(
const FString& InPinPathRepresentation |
Returns true if the graph contains a link given its string representation. | |
| URigVMLink * | Returns a link given its string representation, for example "NodeA.Color.R -> NodeB.Translation.X" | ||
| URigVMNode * | Returns a Node given its path (or nullptr). | ||
| URigVMNode * | FindNodeByName
(
const FName& InNodeName |
Returns a Node given its name (or nullptr). | |
| URigVMPin * | Returns a Pin given its path, for example "Node.Color.R". | ||
| TArray< URigVMGraph * > | GetContainedGraphs
(
bool bRecursive |
Returns all of the contained graphs. | |
| URigVMFunctionLibrary * | Returns the locally available function library. | ||
| TSharedPtr< FRigVMParserAST > | GetDiagnosticsAST
(
bool bForceRefresh, |
||
| URigVMFunctionEntryNode * | GetEntryNode () |
Returns the entry node of this graph. | |
| TArray< FName > | Returns array of event names. | ||
| UScriptStruct * | |||
| TArray< FRigVMExternalVariable > | |||
| int32 | Returns the root / top level parent graph of this graph (or this if it is the root graph) | ||
| FString | GetGraphName () |
Returns the name of this graph (as defined by the node path) | |
| TArray< FRigVMGraphVariableDescription > | Returns the input arguments of this graph. | ||
| const TArray< URigVMLink * > & | GetLinks () |
Returns all of the Links within this Graph. | |
| TArray< FRigVMGraphVariableDescription > | GetLocalVariables
(
bool bIncludeInputArguments |
Returns the local variables of this function. | |
| FString | GetNodePath () |
Returns the path of this graph as defined by its invoking nodes. | |
| const TArray< URigVMNode * > & | GetNodes () |
Returns all of the Nodes within this Graph. | |
| TArray< FRigVMGraphVariableDescription > | Returns the output arguments of this graph. | ||
| URigVMGraph * | Returns the parent graph of this graph. | ||
| URigVMFunctionReturnNode * | Returns the return node of this graph. | ||
| URigVMGraph * | GetRootGraph () |
Returns the root / top level parent graph of this graph (or this if it is the root graph) | |
| TSharedPtr< FRigVMParserAST > | GetRuntimeAST
(
const FRigVMParserASTSettings& InSettings, |
||
| const TArray< FName > & | Returns the names of all currently selected Nodes. | ||
| uint32 | |||
| uint32 | |||
| TArray< FRigVMGraphVariableDescription > | Returns a list of unique Variable descriptions within this Graph. | ||
| bool | IsNodeSelected
(
const FName& InNodeName |
Returns true if a Node with a given name is selected. | |
| bool | IsRootGraph () |
Returns true if this graph is a root / top level graph. | |
| bool | Returns true if this graph is the top level graph. | ||
| FRigVMGraphModifiedEvent & | OnModified () |
Returns the modified event, which can be used to subscribe to changes happening within the Graph. | |
| void | PrepareCycleChecking
(
URigVMPin* InPin, |
||
| void | SetDefaultFunctionLibrary
(
URigVMFunctionLibrary* InFunctionLibrary |
||
| void | SetExecuteContextStruct
(
UScriptStruct* InExecuteContextStruct |
Sets the execute context struct type to use. |
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. |