RootAssetCollection Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Derived from RootAssetCollection:
[DataSerializer(typeof(KeyedSortedListSerializer<RootAssetCollection, AssetId, AssetReference>))]
public class RootAssetCollection : KeyedSortedList<AssetId, AssetReference>, ICollection<AssetReference>, IEnumerable<AssetReference>, ICollection, IEnumerable
| Name | Description | |
|---|---|---|
| Methods | ||
| GetKeyForItem(AssetReference) | Extracts the key for the specified element. |
|
Methods
GetKeyForItem(AssetReference)
Extracts the key for the specified element.
protected override AssetId GetKeyForItem(AssetReference item)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetReference | item |
Returns
| Type | Description |
|---|---|
| AssetId | The key for the specified item. |
Overrides
Stride.Core.Collections.KeyedSortedList<Stride.Core.Assets.AssetId, Stride.Core.Assets.AssetReference>.GetKeyForItem(Stride.Core.Assets.AssetReference)