Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetComposite Class

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

    Base class for an asset that supports inheritance by composition.

    System.Object → Asset → AssetComposite
    Derived from AssetComposite: AssetCompositeHierarchy<TAssetPartDesign, TAssetPart>

    public abstract class AssetComposite : Asset, IAssetComposite
    Name Description
    Methods
    CollectParts()
    ContainsPart(Guid)
    FindPart(Guid)
    | Improve this Doc View Source

    Methods


    CollectParts()

    [Obsolete("The AssetPart struct might be removed soon")]
    public abstract IEnumerable<AssetPart> CollectParts()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<AssetPart>

    ContainsPart(Guid)

    public abstract bool ContainsPart(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    System.Boolean

    FindPart(Guid)

    public abstract IIdentifiable FindPart(Guid partId)
    Parameters
    Type Name Description
    System.Guid partId
    Returns
    Type Description
    IIdentifiable

    Inherited Members

    Asset.Id
    Asset.SerializedVersion
    Asset.Tags
    Asset.Archetype
    Asset.MainSource
    Asset.CreateDerivedAsset(String)
    Asset.CreateDerivedAsset(String, Dictionary<Guid, Guid>)
    Asset.ToString()

    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