Synced
AssetDatabase.TryGetArtifact
Section titled “AssetDatabase.TryGetArtifact”
- Tries to resolve one named immutable artifact output by persistent asset identity.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public bool Inno.Assets.AssetDatabase.TryGetArtifact(System.Guid persistentId, string outputName, out Inno.Assets.AssetArtifactInfo? artifact)Parameters
Section titled “Parameters”Parameter persistentId: The persistent identity of the artifact owner.
Parameter outputName: The exact artifact output name.
Parameter artifact: Receives verified output metadata without prescribing a physical deployment location.
Returns
Section titled “Returns”true when the deployed bundle contains the requested output; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ObjectDisposedException: Thrown when this database has been disposed.