Navigation
API > API/Plugins > API/Plugins/RigVMDeveloper > API/Plugins/RigVMDeveloper/RigVMModel
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- URigVMController
References
| Module | RigVMDeveloper |
| Header | /Engine/Plugins/Runtime/RigVM/Source/RigVMDeveloper/Public/RigVMModel/RigVMController.h |
| Include | #include "RigVMModel/RigVMController.h" |
Syntax
UCLASS&40;BlueprintType&41;
class URigVMController : public UObject
Remarks
The Controller is the sole authority to perform changes on the Graph. The Controller itself is stateless. The Controller offers a Modified event to subscribe to for user interface views - so they can be informed about any change that's happening within the Graph. The Controller routes all changes through the Graph itself, so you can have N Controllers performing edits on 1 Graph, and N Views subscribing to 1 Controller. In Python you can also subscribe to this event to be able to react to topological changes of the Graph there.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSuspendTemplateComputation | ||
| bool | bValidatePinDefaults | A flag that can be used to turn off pin default value validation if necessary. | |
| FRigVMController_ConfigureWorkflowOptionsDelegate | ConfigureWorkflowOptionsDelegate | A delegate to request to configure an options instance for a node workflow. | |
| FRigVMController_GetByteCodeDelegate | GetCurrentByteCodeDelegate | A delegate to retrieve the current bytecode of the graph. | |
| FRigVMController_GetExternalVariablesDelegate | GetExternalVariablesDelegate | A delegate to retrieve the list of external variables. | |
| FRigVMController_OnBulkEditProgressDelegate | OnBulkEditProgressDelegate | A delegate to inform the host / client about the progress during a bulk edit. | |
| FRigVMController_RequestBreakLinksDialogDelegate | RequestBreakLinksDialogDelegate | A delegate to ask the host / client for a dialog to confirm a bulk edit. | |
| FRigVMController_RequestBulkEditDialogDelegate | RequestBulkEditDialogDelegate | A delegate to ask the host / client for a dialog to confirm a bulk edit. | |
| FRigVMController_RequestJumpToHyperlinkDelegate | RequestJumpToHyperlinkDelegate | A delegate to request the client to follow a hyper link. | |
| FRigVMController_RequestLocalizeFunctionDelegate | RequestLocalizeFunctionDelegate | A delegate to localize a function on demand. | |
| FRigVMController_RequestNewExternalVariableDelegate | RequestNewExternalVariableDelegate | A delegate to create a new blueprint member variable. | |
| FRigVMController_RequestPinTypeSelectionDelegate | RequestPinTypeSelectionDelegate | A delegate to ask the host / client for a dialog to select a pin type. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor. | |||
URigVMController
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Default destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | AddAggregatePin
(
URigVMNode* InNode, |
||
| FString | AddAggregatePin
(
const FString& InNodeName, |
||
| URigVMNode * | AddArrayNode
(
ERigVMOpCode InOpCode, |
Adds a Array Node to the edited Graph. This causes a NodeAdded modified event. | |
| URigVMNode * | AddArrayNodeFromObjectPath
(
ERigVMOpCode InOpCode, |
Adds a Array Node to the edited Graph given a struct object path name. | |
| FString | AddArrayPin
(
const FString& InArrayPinPath, |
Adds an array element pin to the end of an array pin. | |
| URigVMNode * | AddBranchNode
(
const FVector2D& InPosition, |
Adds a branch node to the graph. | |
| URigVMTemplateNode * | AddBreakStructNode
(
const FString& InCPPType, |
Helper function to set up a break struct node | |
| URigVMTemplateNode * | AddBreakStructNodeOnPin
(
const FString& InPinPath, |
Helper function to set up a break struct node on a pin | |
| URigVMCommentNode * | AddCommentNode
(
const FString& InCommentText, |
Adds a Comment Node to the edited Graph. | |
| URigVMTemplateNode * | AddConstantNode
(
const FString& InCPPType, |
Helper function to set up a constant node | |
| URigVMTemplateNode * | AddConstantNodeOnPin
(
const FString& InPinPath, |
Helper function to set up a constant node on a pin | |
| FName | AddDecorator
(
const FName& InNodeName, |
Adds a decorator to a node. | |
| URigVMEnumNode * | AddEnumNode
(
const FName& InCPPTypeObjectPath, |
Adds an enum node to the graph Enum nodes can be used to represent constant enum values within the graph | |
| FName | AddExposedPin
(
const FName& InPinName, |
Adds an exposed pin to the graph controlled by this. | |
| URigVMFunctionReferenceNode * | AddExternalFunctionReferenceNode
(
const FString& InHostPath, |
||
| URigVMRerouteNode * | Adds a free Reroute Node. | ||
| URigVMFunctionReferenceNode * | AddFunctionReferenceNode
(
URigVMLibraryNode* InFunctionDefinition, |
||
| URigVMFunctionReferenceNode * | AddFunctionReferenceNodeFromDescription
(
const FRigVMGraphFunctionHeader& InFunctionDefinition, |
Adds a function reference / invocation to the graph. | |
| URigVMLibraryNode * | AddFunctionToLibrary
(
const FName& InFunctionName, |
Adds a function definition to a function library graph. | |
| URigVMNode * | Adds an if node to the graph. If nodes can be used to pick between two values based on a condition. | ||
| URigVMNode * | AddIfNodeFromStruct
(
UScriptStruct* InScriptStruct, |
||
| URigVMInjectionInfo * | AddInjectedNode
(
const FString& InPinPath, |
Adds a Function / Struct Node to the edited Graph as an injected node UnitNode represent a RIGVM_METHOD declaration on a USTRUCT. | |
| URigVMInjectionInfo * | Adds a Function / Struct Node to the edited Graph as an injected node UnitNode represent a RIGVM_METHOD declaration on a USTRUCT. | ||
| URigVMInvokeEntryNode * | AddInvokeEntryNode
(
const FName& InEntryName, |
Adds an entry invocation node This causes a NodeAdded modified event. | |
| bool | AddLink
(
const FString& InOutputPinPath, |
Adds a link to the graph. This causes a LinkAdded modified event. | |
| bool | AddLink
(
URigVMPin* OutputPin, |
||
| FRigVMGraphVariableDescription | AddLocalVariable
(
const FName& InVariableName, |
Add a local variable to the graph. | |
| FRigVMGraphVariableDescription | AddLocalVariableFromObjectPath
(
const FName& InVariableName, |
Add a local variable to the graph given a struct object path name. | |
| URigVMTemplateNode * | AddMakeStructNode
(
const FString& InCPPType, |
Helper function to set up a make struct node | |
| URigVMTemplateNode * | AddMakeStructNodeOnPin
(
const FString& InPinPath, |
Helper function to set up a make struct node on a pin | |
| URigVMParameterNode * | Adds a Parameter Node to the edited Graph. | ||
| URigVMParameterNode * | Adds a Parameter Node to the edited Graph given a struct object path name. | ||
| void | AddPinRedirector
(
bool bInput, |
||
| URigVMRerouteNode * | AddRerouteNodeOnLink
(
URigVMLink* InLink, |
Adds a Reroute Node on an existing Link to the edited Graph. | |
| URigVMRerouteNode * | AddRerouteNodeOnLinkPath
(
const FString& InLinkPinPathRepresentation, |
Adds a Reroute Node on an existing Link to the edited Graph given the Link's string representation. | |
| URigVMRerouteNode * | AddRerouteNodeOnPin
(
const FString& InPinPath, |
Adds a Reroute Node on an existing Pin to the editor Graph. | |
| URigVMNode * | AddSelectNode
(
const FString& InCPPType, |
Adds a select node to the graph. | |
| URigVMNode * | AddSelectNodeFromStruct
(
UScriptStruct* InScriptStruct, |
||
| URigVMTemplateNode * | AddTemplateNode
(
const FName& InNotation, |
Adds a template node to the graph. | |
| URigVMUnitNode * | AddUnitNode
(
UScriptStruct* InScriptStruct, |
Note: The functions below are scoped with WITH_EDITOR since we are considering to move this code into the runtime in the future. | |
| URigVMUnitNode * | AddUnitNode
(
const T& InDefaults, |
Adds a unit node using a template. | |
| URigVMUnitNode * | AddUnitNodeFromStructPath
(
const FString& InScriptStructPath, |
Adds a Function / Struct Node to the edited Graph given its struct object path name. | |
| URigVMUnitNode * | AddUnitNodeWithDefaults
(
UScriptStruct* InScriptStruct, |
Adds a Function / Struct Node to the edited Graph. | |
| URigVMUnitNode * | AddUnitNodeWithDefaults
(
UScriptStruct* InScriptStruct, |
Adds a Function / Struct Node to the edited Graph. | |
| URigVMVariableNode * | Adds a Variable Node to the edited Graph. | ||
| URigVMVariableNode * | Adds a Variable Node to the edited Graph given a struct object path name. | ||
| bool | BindPinToVariable
(
const FString& InPinPath, |
Binds a pin to a variable (or removes the binding given NAME_None) This causes a PinBoundVariableChanged modified event. | |
| bool | BreakAllLinks
(
URigVMPin* Pin, |
||
| bool | BreakAllLinks
(
const FString& InPinPath, |
Removes all links on a given pin from the graph. | |
| bool | |||
| bool | Removes a link from the graph. This causes a LinkRemoved modified event. | ||
| bool | BreakLinkedPaths
(
const TArray< FLinkedPath >& InLinkedPaths, |
||
| bool | Cancels an undo bracket / scoped transaction. | ||
| bool | CanImportNodesFromText
(
const FString& InText |
Exports the given nodes as text. | |
| bool | ChangeExposedPinType
(
const FName& InPinName, |
Changes the type of an exposed pin in the graph controlled by this. | |
| bool | ClearArrayPin
(
const FString& InArrayPinPath, |
Removes all (but one) array element pin from an array pin. | |
| bool | ClearNodeSelection
(
bool bSetupUndoRedo, |
Deselects all currently selected nodes in the graph. | |
| void | |||
| bool | Closes an undo bracket / scoped transaction. | ||
| URigVMCollapseNode * | CollapseNodes
(
const TArray< FName >& InNodeNames, |
Turns a series of nodes into a Collapse node. | |
| URigVMNode * | ConvertRerouteNodeToDispatch
(
URigVMRerouteNode* InRerouteNode, |
||
| void | DeclareConstructClasses
(
TArray< FTopLevelAssetPath >& OutConstructClasses, |
||
| FString | DuplicateArrayPin
(
const FString& InArrayElementPinPath, |
Duplicates an array element pin. This causes a PinArraySizeChanged modified event. | |
| URigVMNode * | EjectNodeFromPin
(
const FString& InPinPath, |
Ejects the last injected node on a pin. | |
| void | EnableReporting
(
bool bEnabled |
Enables or disables the error reporting of this Controller. | |
| void | EnableTypeCasting
(
bool bEnabled |
||
| TArray< URigVMNode * > | ExpandLibraryNode
(
const FName& InNodeName, |
Turns a library node into its contained nodes. | |
| FString | ExportNodesToText
(
const TArray< FName >& InNodeNames, |
Exports the given nodes as text. | |
| FString | ExportSelectedNodesToText
(
bool bIncludeExteriorLinks |
Exports the selected nodes as text. | |
| bool | FastBreakLinkedPaths
(
const TArray< FLinkedPath >& InLinkedPaths, |
||
| URigVMLink * | FindLinkFromPinPathRepresentation
(
const FString& InPinPathRepresentation, |
||
| bool | FullyResolveTemplateNode
(
URigVMTemplateNode* InNode, |
||
| TArray< FString > | |||
| URigVMActionStack * | |||
| TArray< FString > | GetAddDecoratorPythonCommands
(
URigVMNode* Node, |
||
| TArray< FString > | GetAddNodePythonCommands
(
URigVMNode* Node |
||
| TArray< FAssetData > | GetAffectedAssets
(
ERigVMControllerBulkEditType InEditType, |
Determine affected assets for a potential bulk edit on a library node. | |
| TArray< TSoftObjectPtr< URigVMFunctionReferenceNode > > | GetAffectedReferences
(
ERigVMControllerBulkEditType InEditType, |
Determine affected function references for a potential bulk edit on a library node. | |
| FRigVMTemplate::FTypeMap | GetCommonlyUsedTypesForTemplate
(
const URigVMTemplateNode* InNode |
Inquire on the commonly used types for a template node. This can be used to resolve a node without user input (as a default) | |
| URigVMController * | GetControllerForGraph
(
const URigVMGraph* InGraph |
Returns another controller for a given graph. | |
| const FRigVMByteCode * | |||
| URigVMGraph * | GetGraph () |
Returns the currently edited Graph of this controller. | |
| TArray< FLinkedPath > | GetLinkedPaths
(
const TArray< URigVMNode* >& InNodes, |
||
| TArray< FLinkedPath > | |||
| TArray< FLinkedPath > | GetLinkedPaths
(
const TArray< URigVMLink* >& InLinks |
||
| TArray< FLinkedPath > | GetLinkedPaths
(
URigVMNode* InNode, |
||
| TArray< FLinkedPath > | GetLinkedPaths
(
const URigVMPin* InPin, |
||
| FString | GetPinDefaultValue
(
const FString& InPinPath |
Returns the default value of a pin given its pinpath. | |
| TArray< FString > | Returns all registered template notations. | ||
| TArray< UScriptStruct * > | Returns all registered unit structs. | ||
| URigVMSchema * | GetSchema () |
Returns the schema used by this controller. | |
| FString | GetTemplateForUnitStruct
(
UScriptStruct* InFunction, |
Returns the template for a given function (or an empty string) | |
| URigVMGraph * | Returns the top level graph. | ||
| FRigVMUnitNodeCreatedContext & | |||
| TArray< UScriptStruct * > | GetUnitStructsForTemplate
(
const FName& InNotation |
Returns all supported unit structs for a given template notation. | |
| TArray< FName > | ImportNodesFromText
(
const FString& InText, |
Exports the given nodes as text. | |
| FString | InsertArrayPin
(
const FString& InArrayPinPath, |
Inserts an array element pin into an array pin. This causes a PinArraySizeChanged modified event. | |
| bool | IsFunctionPublic
(
const FName& InFunctionName |
Returns true if a function is marked as public in the function library. | |
| bool | Returns true if reporting is enabled. | ||
| bool | Returns true if the controller is currently transacting. | ||
| URigVMLibraryNode * | LocalizeFunction
(
const FRigVMGraphFunctionIdentifier& InFunctionDefinition, |
||
| URigVMLibraryNode * | LocalizeFunctionFromPath
(
const FString& InHostPath, |
Copies a function declaration into this graph's local function library. | |
| TMap< FRigVMGraphFunctionIdentifier, URigVMLibraryNode * > | LocalizeFunctions
(
TArray< FRigVMGraphFunctionIdentifier > InFunctionDefinitions, |
Copies a series of function declaratioms into this graph's local function library. | |
| bool | MakeBindingsFromVariableNode
(
const FName& InNodeName, |
Turns a variable node into one or more bindings. | |
| URigVMUserWorkflowOptions * | MakeOptionsForWorkflow
(
UObject* InSubject, |
Creates the options struct for a given workflow | |
| bool | MakeVariableNodeFromBinding
(
const FString& InPinPath, |
Turns a binding to a variable node. | |
| bool | MarkFunctionAsPublic
(
const FName& InFunctionName, |
Mark a function as public/private in the function library. | |
| void | Notify
(
ERigVMGraphNotifType InNotifType, |
Submits an event to the graph for broadcasting. | |
| void | OnExternalVariableRemoved
(
const FName& InVarName, |
Removes all nodes related to a given variable. | |
| bool | OnExternalVariableRenamed
(
const FName& InOldVarName, |
Renames the variable name in all relevant nodes. | |
| void | OnExternalVariableTypeChanged
(
const FName& InVarName, |
Changes the data type of all nodes matching a given variable name. | |
| void | OnExternalVariableTypeChangedFromObjectPath
(
const FName& InVarName, |
Changes the data type of all nodes matching a given variable name. | |
| FRigVMGraphModifiedEvent & | OnModified () |
The Modified event used to subscribe to changes happening within the Graph. | |
| bool | OpenUndoBracket
(
const FString& InTitle |
Opens an undo bracket / scoped transaction for a series of actions to be performed as one step on the Undo stack. | |
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | |||
| FRigVMClientPatchResult | Backwards compatibility code | ||
| FRigVMClientPatchResult | |||
| bool | PerformUserWorkflow
(
const FRigVMUserWorkflow& InWorkflow, |
Performs all actions representing the workflow | |
| URigVMGraph * | PopGraph
(
bool bSetupUndoRedo |
Pops the last graph off the stack This causes a GraphChanged modified event. | |
| void | PostDuplicateHost
(
const FString& InOldPathName, |
Work to do after a duplication of the host asset | |
| bool | PrepareToLink
(
URigVMPin* FirstToResolve, |
Update filtered permutations, and propagate both ways of the link before adding this link. | |
| void | ProcessDetachedLinks
(
const FRestoreLinkedPathSettings& InSettings |
||
| FName | PromoteCollapseNodeToFunctionReferenceNode
(
const FName& InNodeName, |
Turns a collapse node into a function node. | |
| FName | PromoteFunctionReferenceNodeToCollapseNode
(
const FName& InNodeName, |
Turns a collapse node into a function node. | |
| bool | PromotePinToVariable
(
const FString& InPinPath, |
Promotes a pin to a variable. | |
| bool | PushGraph
(
URigVMGraph* InGraph, |
Pushes a new graph to the stack This causes a GraphChanged modified event. | |
| bool | Redo () |
Re-does the last action on the stack. | |
| void | RefreshVariableNode
(
const FName& InNodeName, |
Refreshes the variable node with the new data. | |
| void | RegisterUseOfTemplate
(
const URigVMTemplateNode* InNode |
Registers this template node's use for later determining the commonly used types. | |
| void | RelinkSourceAndTargetPins
(
URigVMNode* RigNode, |
Try to reconnect source and target pins after a node deletion | |
| TArray< FLinkedPath > | RemapLinkedPaths
(
const TArray< FLinkedPath >& InLinkedPaths, |
||
| bool | RemoveAggregatePin
(
URigVMPin* InPin, |
||
| bool | RemoveAggregatePin
(
const FString& InPinPath, |
||
| bool | RemoveArrayPin
(
const FString& InArrayElementPinPath, |
Removes an array element pin from an array pin. This causes a PinArraySizeChanged modified event. | |
| bool | RemoveDecorator
(
const FName& InNodeName, |
Removes a decorator from a node. | |
| bool | RemoveExposedPin
(
const FName& InPinName, |
Removes an exposed pin from the graph controlled by this. | |
| bool | RemoveFunctionFromLibrary
(
const FName& InFunctionName, |
Removes a function from a function library graph. | |
| bool | RemoveInjectedNode
(
const FString& InPinPath, |
Removes an injected node This causes a NodeRemoved modified event. | |
| bool | RemoveLocalVariable
(
const FName& InVariableName, |
Remove a local variable from the graph. | |
| bool | RemoveNode
(
URigVMNode* InNode, |
Removes a node from the graph This causes a NodeRemoved modified event. | |
| bool | RemoveNodeByName
(
const FName& InNodeName, |
Removes a node from the graph given the node's name. This causes a NodeRemoved modified event. | |
| bool | RemoveNodes
(
TArray< URigVMNode* > InNodes, |
Removes a list of nodes from the graph This causes a NodeRemoved modified event. | |
| bool | RemoveNodesByName
(
const TArray< FName >& InNodeNames, |
Removes a list of nodes from the graph given the names This causes a NodeRemoved modified event. | |
| void | RemovePinsDuringRepopulate
(
URigVMNode* InNode, |
||
| void | Removes nodes which went stale. | ||
| bool | RemoveUnusedOrphanedPins
(
URigVMNode* InNode, |
Removes any orphan pins that no longer holds a link | |
| bool | RenameExposedPin
(
const FName& InOldPinName, |
Renames an exposed pin in the graph controlled by this. | |
| bool | RenameFunction
(
const FName& InOldFunctionName, |
Renames a function in the function library. | |
| bool | RenameLocalVariable
(
const FName& InVariableName, |
Rename a local variable from the graph. | |
| bool | RenameNode
(
URigVMNode* InNode, |
Renames a node in the graph This causes a NodeRenamed modified event. | |
| bool | RenameParameter
(
const FName& InOldName, |
Renames a parameter in the graph. This causes a ParameterRenamed modified event. | |
| bool | RenameVariable
(
const FName& InOldName, |
Renames a variable in the graph. This causes a VariableRenamed modified event. | |
| URigVMVariableNode * | ReplaceParameterNodeWithVariable
(
const FName& InNodeName, |
Refreshes the variable node with the new data. | |
| void | RepopulatePinsOnNode
(
URigVMNode* InNode, |
||
| void | ReportAndNotifyError
(
const FString& InMessage |
||
| void | ReportAndNotifyErrorf
(
const FmtType& Fmt, |
||
| void | ReportAndNotifyInfo
(
const FString& InMessage |
||
| void | ReportAndNotifyInfof
(
const FmtType& Fmt, |
||
| void | ReportAndNotifyWarning
(
const FString& InMessage |
||
| void | ReportAndNotifyWarningf
(
const FmtType& Fmt, |
||
| void | ReportError
(
const FString& InMessage |
||
| void | ReportErrorf
(
const FmtType& Fmt, |
||
| void | ReportInfo
(
const FString& InMessage |
||
| void | ReportInfof
(
const FmtType& Fmt, |
||
| void | ReportPinTypeChange
(
URigVMPin* InPin, |
||
| void | ReportWarning
(
const FString& InMessage |
||
| void | ReportWarningf
(
const FmtType& Fmt, |
||
| void | Resends all notifications. | ||
| bool | ResetPinDefaultValue
(
const FString& InPinPath, |
Resets the default value of a pin given its pinpath. | |
| void | |||
| bool | ResolveWildCardPin
(
const FString& InPinPath, |
Resolves a wildcard pin on any node. | |
| bool | ResolveWildCardPin
(
URigVMPin* InPin, |
Resolves a wildcard pin on any node. | |
| bool | ResolveWildCardPin
(
const FString& InPinPath, |
Resolves a wildcard pin on any node. | |
| bool | ResolveWildCardPin
(
URigVMPin* InPin, |
Resolves a wildcard pin on any node. | |
| bool | RestoreLinkedPaths
(
const TArray< FLinkedPath >& InLinkedPaths, |
||
| bool | SelectNode
(
URigVMNode* InNode, |
Selects a single node in the graph. This causes a NodeSelected / NodeDeselected modified event. | |
| bool | SelectNodeByName
(
const FName& InNodeName, |
Selects a single node in the graph by name. | |
| void | SendUserFacingNotification
(
const FString& InMessage, |
||
| void | SetActionStack
(
URigVMActionStack* InActionStack |
||
| bool | SetArrayPinSize
(
const FString& InArrayPinPath, |
Sets the size of the array pin This causes a PinArraySizeChanged modified event. | |
| bool | SetCommentText
(
URigVMNode* InNode, |
Sets the comment text and properties of a comment node in the graph. | |
| bool | SetCommentTextByName
(
const FName& InNodeName, |
Sets the comment text and properties of a comment node in the graph by name. | |
| bool | SetExposedPinIndex
(
const FName& InPinName, |
Sets the index for an exposed pin. This can be used to move the pin up and down on the node. | |
| void | SetGraph
(
URigVMGraph* InGraph |
Sets the currently edited Graph of this controller. This causes a GraphChanged modified event. | |
| void | SetIsRunningUnitTest
(
bool bIsRunning |
Helper function to disable a series of checks that can be ignored during a unit test | |
| bool | SetLocalVariableDefaultValue
(
const FName& InVariableName, |
||
| bool | SetLocalVariableType
(
const FName& InVariableName, |
Sets the type of the local variable. | |
| bool | SetLocalVariableTypeFromObjectPath
(
const FName& InVariableName, |
Sets the type of the local variable. | |
| bool | SetNodeCategory
(
URigVMCollapseNode* InNode, |
Sets the category of a node in the graph. This causes a NodeCategoryChanged modified event. | |
| bool | SetNodeCategoryByName
(
const FName& InNodeName, |
Sets the category of a node in the graph. This causes a NodeCategoryChanged modified event. | |
| bool | SetNodeColor
(
URigVMNode* InNode, |
Sets the color of a node in the graph. This causes a NodeColorChanged modified event. | |
| bool | SetNodeColorByName
(
const FName& InNodeName, |
Sets the color of a node in the graph by name. This causes a NodeColorChanged modified event. | |
| bool | SetNodeDescription
(
URigVMCollapseNode* InNode, |
Sets the function description of a node in the graph. | |
| bool | SetNodeDescriptionByName
(
const FName& InNodeName, |
Sets the keywords of a node in the graph. This causes a NodeDescriptionChanged modified event. | |
| bool | SetNodeKeywords
(
URigVMCollapseNode* InNode, |
Sets the keywords of a node in the graph. This causes a NodeKeywordsChanged modified event. | |
| bool | SetNodeKeywordsByName
(
const FName& InNodeName, |
Sets the keywords of a node in the graph. This causes a NodeKeywordsChanged modified event. | |
| bool | SetNodePosition
(
URigVMNode* InNode, |
Sets the position of a node in the graph. This causes a NodePositionChanged modified event. | |
| bool | SetNodePositionByName
(
const FName& InNodeName, |
Sets the position of a node in the graph by name. This causes a NodePositionChanged modified event. | |
| bool | SetNodeSelection
(
const TArray< FName >& InNodeNames, |
Selects the nodes given the selection This might cause several NodeDeselected modified event. | |
| bool | SetNodeSize
(
URigVMNode* InNode, |
Sets the size of a node in the graph. This causes a NodeSizeChanged modified event. | |
| bool | SetNodeSizeByName
(
const FName& InNodeName, |
Sets the size of a node in the graph by name. This causes a NodeSizeChanged modified event. | |
| bool | SetPinDefaultValue
(
const FString& InPinPath, |
Sets the default value of a pin given its pinpath. | |
| bool | SetPinExpansion
(
const FString& InPinPath, |
Sets the pin to be expanded or not This causes a PinExpansionChanged modified event. | |
| bool | SetPinIsWatched
(
const FString& InPinPath, |
Sets the pin to be watched (or not) This causes a PinWatchedChanged modified event. | |
| bool | SetRemappedVariable
(
URigVMFunctionReferenceNode* InFunctionRefNode, |
Sets the remapped variable on a function reference node. | |
| void | SetSchema
(
URigVMSchema* InSchema |
Sets the schema on the controller. | |
| bool | SetUnitNodeDefaults
(
URigVMUnitNode* InNode, |
Adds a Function / Struct Node to the edited Graph. | |
| bool | SetUnitNodeDefaults
(
URigVMUnitNode* InNode, |
Adds a Function / Struct Node to the edited Graph. | |
| void | SetupDefaultUnitNodeDelegates
(
TDelegate< FName(FRigVMExternalVariable, FString)> InCreateExternalVariableDelegate |
Wires the unit node delegates to the default controller delegates. | |
| bool | ShouldRedirectPin
(
const FString& InOldPinPath, |
||
| bool | ShouldRedirectPin
(
UScriptStruct* InOwningStruct, |
||
| void | SortGraphElementsByGraphDepth
(
TArray< T* >& InOutElements, |
||
| void | SortGraphElementsByImportOrder
(
TArray< TObjectPtr< T >> InOutElements, |
||
| bool | UnbindPinFromVariable
(
const FString& InPinPath, |
Removes the binging of a pin to a variable This causes a PinBoundVariableChanged modified event. | |
| bool | Undo () |
Un-does the last action on the stack. | |
| bool | UnresolveTemplateNodes
(
const TArray< URigVMNode* >& InNodes, |
Turns a resolved templated node(s) back into its template. | |
| bool | UnresolveTemplateNodes
(
const TArray< FName >& InNodeNames, |
Turns a resolved templated node(s) back into its template. | |
| URigVMNode * | UpgradeNode
(
URigVMNode* InNode, |
Upgrades a single node with its next known version. | |
| TArray< URigVMNode * > | UpgradeNodes
(
const TArray< URigVMNode* >& InNodes, |
Upgrades a set of nodes with each corresponding next known version. | |
| TArray< URigVMNode * > | UpgradeNodes
(
const TArray< FName >& InNodeNames, |
Upgrades a set of nodes with each corresponding next known version. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLinkedPath | |||
| FPinInfo | |||
| FPinInfoArray | |||
| FRestoreLinkedPathSettings |
Constants
| Name | Description |
|---|---|
| PinPathCoreRedirectors |