Table of Contents

Class AssetPartsAnalysis

Namespace
Stride.Core.Assets.Analysis
Assembly
Stride.Core.Assets.dll
public static class AssetPartsAnalysis
Inheritance
AssetPartsAnalysis

Methods

GenerateNewBaseInstanceIds<TAssetPartDesign, TAssetPart>(AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>)

Assigns new unique identifiers for base part InstanceId in the given hierarchy.

public static void GenerateNewBaseInstanceIds<TAssetPartDesign, TAssetPart>(AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart> hierarchy) where TAssetPartDesign : class, IAssetPartDesign<TAssetPart> where TAssetPart : class, IIdentifiable

Parameters

hierarchy AssetCompositeHierarchyData<TAssetPartDesign, TAssetPart>

The hierarchy which part groups should have new identifiers.

Type Parameters

TAssetPartDesign
TAssetPart

The underlying type of part.