Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart> Class

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

    A class containing the information of a hierarchy of asset parts contained in an AssetCompositeHierarchy<TAssetPartDesign, TAssetPart>.

    System.Object → AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>
    Derived from AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>:

    [DataContract("AssetCompositeHierarchyData")]
    public class AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>
        where TAssetPartDesign : class, IAssetPartDesign<TAssetPart> where TAssetPart : class, IIdentifiable
    Type Parameters
    Name Description
    TAssetPartDesign

    The type used for the design information of a part.

    TAssetPart

    The type used for the actual parts,

    Name Description
    Properties
    Parts

    Gets a collection of all the parts, root or not, contained in this hierarchy.

    RootParts

    Gets a collection if identifier of all the parts that are root of this hierarchy.

    | Improve this Doc View Source

    Properties


    Parts

    Gets a collection of all the parts, root or not, contained in this hierarchy.

    [DataMember(20)]
    public AssetPartCollection<TAssetPartDesign, TAssetPart> Parts { get; }
    Property Value
    Type Description
    AssetPartCollection<TAssetPartDesign, TAssetPart>

    RootParts

    Gets a collection if identifier of all the parts that are root of this hierarchy.

    [DataMember(10)]
    public List<TAssetPart> RootParts { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<TAssetPart>

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    AssetCompositeHierarchyExtensions.EnumerateRootPartDesigns<TAssetPartDesign, TAssetPart>(AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>)
    AssetCompositeHierarchyExtensions.MergeInto<TAssetPartDesign, TAssetPart>(AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>, AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

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