Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IAssetComposite Interface

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

    An interface that defines the composition declared by an asset inheriting from another asset.

    public interface IAssetComposite
    Name Description
    Methods
    CollectParts()

    Collects the part assets.

    ContainsPart(Guid)

    Checks if this AssetPart container contains the part with the specified id.

    | Improve this Doc View Source

    Methods


    CollectParts()

    Collects the part assets.

    IEnumerable<AssetPart> CollectParts()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<AssetPart>

    ContainsPart(Guid)

    Checks if this AssetPart container contains the part with the specified id.

    bool ContainsPart(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique identifier of the asset part

    Returns
    Type Description
    System.Boolean

    true if this asset contains the part with the specified id; otherwise false


    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