Interface IPrefabProviderEvaluationHandler
Namespace: Holoride.ElasticSDK.Graph.DataProviders
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public interface IPrefabProviderEvaluationHandler
Methods
EvaluateData(int, GlobalPosition, CancellationToken)
Evaluates the collection of data that this worker processes, so that it can return one specific data point.
Declaration
UniTask<GameObject> EvaluateData(int seed, GlobalPosition spawnCandidatePosition = default, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | seed | A seed needed for a deterministic evaluation process. |
| GlobalPosition | spawnCandidatePosition | The spawn candidates global position that is used to derive an optional map input for evaluation. |
| CancellationToken | cancellationToken | Token to cancel the async UniTask operation. |
Returns
| Type | Description |
|---|---|
| Cysharp.Threading.Tasks.UniTask<T><GameObject> | The specific data point as a result of the evaluation process. |