Synced
IAssetLookup.Load
Section titled “IAssetLookup.Load”
- Loads the canonical asset with a persistent identity.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”TAsset Inno.Assets.IAssetLookup.Load<TAsset>(System.Guid persistentId) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: The required asset contract.
Parameters
Section titled “Parameters”Parameter persistentId: The non-empty persistent asset identity.
Returns
Section titled “Returns”The canonical compatible asset owned by this lookup.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the asset does not exist or has an incompatible concrete type.