AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart> Class
Namespace: Stride.Core.AssetsAssembly: 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. |
|
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> |