Synced
Assets
Section titled “Assets”
- Provides script-facing asset queries through the lookup bound to the current runtime session.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Assets
Scope: Runtime
Declaration
Section titled “Declaration”public static class InnoEngine.Assets.AssetsRemarks
Section titled “Remarks”This façade owns no asset state. Engine and Editor infrastructure should depend on an explicit T:InnoEngine.Assets.IAssetLookup instance.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | Assets.AcquireArtifact | Acquires one verified immutable artifact output for an explicit lifetime. |
| Methods | Assets.AcquireAsync(InnoEngine.Assets.AssetPath,System.Threading.CancellationToken) | Acquires a canonical asset and explicitly retains it until the returned lease is disposed. |
| Methods | Assets.AcquireAsync(System.Guid,System.Threading.CancellationToken) | Acquires a canonical asset by persistent identity and explicitly retains it. |
| Methods | Assets.Load(InnoEngine.Assets.AssetPath) | Loads the canonical asset at a logical catalog path in the current session. |
| Methods | Assets.Load(System.Guid) | Loads the canonical asset with a persistent identity in the current session. |
| Methods | Assets.LocalPath | Creates a path relative to the Asset source that owns the calling script. |
| Methods | Assets.TryLoad(InnoEngine.Assets.AssetPath,“0@) | Tries to load the canonical asset at a logical catalog path in the current session. |
| Methods | Assets.TryLoad(System.Guid,“0@) | Tries to load the canonical asset with a persistent identity in the current session. |