Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Asynchronously loads a canonical asset by persistent identity.

API: engine
Project: Inno.Assets.Pipeline

public System.Threading.Tasks.ValueTask<Inno.Assets.AssetObject?> Inno.Assets.Pipeline.AssetLoader.LoadAsync(System.Guid persistentId, System.Type requestedAssetType, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter persistentId: The persistent asset identity.

Parameter requestedAssetType: The required assignable asset type.

Parameter cancellationToken: Cancellation for the current caller’s wait.

The canonical asset, or null when unavailable or incompatible.