Method Execute
Execute(string[], TerrainGenerationConfigs, GraphInputContainer, FillArgumentsHandler)
Starts a progressive graph execution and returns a handle that can be yielded and inspected.
public ExecutionHandle Execute(string[] nodeIds, TerrainGenerationConfigs configs, GraphInputContainer inputContainer = null, TerrainGraph.FillArgumentsHandler fillArgumentsCallback = null)
Parameters
nodeIdsstring[]The output node ids to resolve. The graph automatically expands these into the full dependency chain required for execution.
configsTerrainGenerationConfigsRequest-wide execution settings such as resolution, bounds, height scale, and seed.
inputContainerGraphInputContainerOptional external inputs to bind into the execution context before node evaluation starts.
fillArgumentsCallbackTerrainGraph.FillArgumentsHandlerOptional callback that appends extra values to the argument table after the standard graph arguments have been written.
Returns
- ExecutionHandle
An ExecutionHandle that owns the running coroutine, progress state, and the DataPool for this execution.
Remarks
Nodes that support split execution may run through their coroutine path here. Callers typically yield on the returned handle, then remove final outputs from data before disposing it.