Table of Contents

Class AssetComposite

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

Base class for an asset that supports inheritance by composition.

public abstract class AssetComposite : Asset, IAssetComposite
Inheritance
AssetComposite
Implements
Derived
Inherited Members

Methods

CollectParts()

Collects the part assets.

[Obsolete("The AssetPart struct might be removed soon")]
public abstract IEnumerable<AssetPart> CollectParts()

Returns

IEnumerable<AssetPart>

ContainsPart(Guid)

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

public abstract bool ContainsPart(Guid id)

Parameters

id Guid

Unique identifier of the asset part

Returns

bool

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

FindPart(Guid)

public abstract IIdentifiable FindPart(Guid partId)

Parameters

partId Guid

Returns

IIdentifiable