Synced
AssetSourceMountTransaction.Load
Section titled “AssetSourceMountTransaction.Load”
- Loads one candidate asset by isolated source path.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public TAsset Inno.Assets.Pipeline.AssetSourceMountTransaction.Load<TAsset>(Inno.Assets.AssetPath path) where TAsset : Inno.Assets.AssetObjectType parameters
Section titled “Type parameters”Type parameter TAsset: Required asset type.
Parameters
Section titled “Parameters”Parameter path: Candidate source path.
Returns
Section titled “Returns”The candidate asset instance.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when no compatible candidate asset exists.