UInworldGraph | Inherits from: UObject
Represents a blueprintable and programmable runtime graph. Provides functionality for creating, compiling, and executing graphs asynchronously using callbacks. The graph can manage nodes, edges, and execution states for real-time execution purposes.
Methods
- CancelAllExecutions
- CancelExecution
- CheckNodeByName
- GetAllExecutions
- GetExecutionInfo
- GetExecutionMode
- GetExecutionStatus
- GetGraphInstance
- GetGraphInstance
- GetNodeByName
- GetNodeByName
- GetNodeByName
- GetPendingExecutionsCount
- GetRunningExecutionsCount
- IsCompiled
- IsExecutionCanceled
- Lock
- SetExecutionMode
- SetGraphId
Reference
CancelAllExecutions
Cancels all ongoing and pending executions
Examples
CancelExecution
Cancels an ongoing graph execution
Examples
Parameters
CheckNodeByName
Utility function for determining if a node exists in the graphExamples
Returns
Type:bool
Description: true if a node with the name exists, false otherwise
GetAllExecutions
Gets all current executions (running and pending)
Examples
Returns
Type:TArray<FInworldGraphExecution>
Description: Array of all current executions
GetExecutionInfo
Gets information about a specific execution
Examples
Parameters
Returns
Type:FInworldGraphExecution
Description: The execution information, or empty struct if not found
GetExecutionMode
Gets the current execution mode
Examples
Returns
Type:EInworldGraphExecutionMode
Description: The current execution mode
GetExecutionStatus
Gets the status of a specific execution
Examples
Parameters
Returns
Type:EInworldGraphExecutionStatus
Description: The current status of the execution
GetGraphInstance
Creates and compile an instance of the given InworldGraph asset.
Examples
Parameters
GetGraphInstance

Examples
GetNodeByName
Utility function for grabbing a member node by its unique id
Examples
Parameters
Returns
Type:UInworldNode*
Description: Pointer to the node with the given name, or nullptr if not found
GetNodeByName

Examples
Returns
Type:return
GetNodeByName

Examples
Returns
Type:UInworldNode*
GetPendingExecutionsCount
Gets the number of pending executions
Examples
Returns
Type:int32
Description: Number of pending executions
GetRunningExecutionsCount
Gets the number of currently running executions
Examples
Returns
Type:int32
Description: Number of running executions
IsCompiled
Checks if the graph has been compiled
Examples
Returns
Type:bool
Description: True if the graph is compiled, false otherwise
IsExecutionCanceled
Checks if an execution is canceled
Examples
Parameters
Returns
Type:bool
Description: True if the execution is canceled, false otherwise
Lock
Examples
Returns
Type:FScopeLock
SetExecutionMode
Sets the execution mode for the graph