Skip to main content
Overview > Inworld Graph Component Class: UInworldGraphComponent | Inherits from: UActorComponent Actor component for managing Inworld graphs within the game world. This abstract component provides the foundation for integrating Inworld graph functionality into actors. It manages graph creation, compilation, and execution while providing delegates for monitoring graph events and results.

Methods

Reference

CreateGraph

Creates the graph from the associated GraphAsset. CreateGraph Blueprint Node

Examples

void CreateGraph()

ExecuteGraph

Executes the graph with the provided input data and runtime data. ExecuteGraph Blueprint Node

Examples

UPARAM(meta = (DisplayName = "Execution Id")) FString ExecuteGraph(
    const FInworldDataHandle& InputData,
    const TMap<FName, FInworldDataHandle>& RuntimeData
)

Parameters

ParameterTypeDescription
InputDataconst FInworldDataHandle&The input data to pass to the graph.
RuntimeDataconst TMap<FName, FInworldDataHandle>&Runtime data map accessible by nodes during execution.

Returns

Type: UPARAM(meta = (DisplayName = "Execution Id")) FString