Synced
Assets.Load
Section titled “Assets.Load”
- Loads the canonical asset at a logical catalog path in the current session.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public static TAsset Inno.Assets.Assets.Load<TAsset>(Inno.Assets.AssetPath path) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: The required asset contract.
Parameters
Section titled “Parameters”Parameter path: The mount-qualified logical catalog path.
Returns
Section titled “Returns”The canonical compatible asset owned by the current lookup.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when no asset lookup is active, the asset does not exist, or its type is incompatible.