Synced
AssetDatabase.GetDependencies
Section titled “AssetDatabase.GetDependencies”
- Gets the direct persistent dependencies declared by one loaded or cataloged asset.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public System.Collections.Generic.IReadOnlyList<Inno.Assets.AssetDependency> Inno.Assets.AssetDatabase.GetDependencies(Inno.Assets.AssetObject asset)Parameters
Section titled “Parameters”Parameter asset: The canonical asset whose deployed dependency descriptors are requested.
Returns
Section titled “Returns”A deterministic immutable snapshot of direct dependencies.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when asset is not owned by this database.
Exception T:System.ObjectDisposedException: Thrown when this database has been disposed.