Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    IAssetDependencyManager Interface

    Namespace: Stride.Core.Assets.Analysis
    Assembly: Stride.Core.Assets.dll

    public interface IAssetDependencyManager
    Name Description
    Methods
    ComputeDependencies(AssetId, AssetDependencySearchOptions, ContentLinkType, HashSet<AssetId>)

    Computes the dependencies for the specified asset.

    | Improve this Doc View Source

    Methods


    ComputeDependencies(AssetId, AssetDependencySearchOptions, ContentLinkType, HashSet<AssetId>)

    Computes the dependencies for the specified asset.

    AssetDependencies ComputeDependencies(AssetId assetId, AssetDependencySearchOptions dependenciesOptions = AssetDependencySearchOptions.All, ContentLinkType linkTypes = ContentLinkType.Reference, HashSet<AssetId> visited = null)
    Parameters
    Type Name Description
    AssetId assetId

    The asset id.

    AssetDependencySearchOptions dependenciesOptions

    The dependencies options.

    ContentLinkType linkTypes

    The type of links to visit while computing the dependencies

    System.Collections.Generic.HashSet<AssetId> visited

    The list of element already visited.

    Returns
    Type Description
    AssetDependencies

    The dependencies, or null if the object is not tracked.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation