AssetHash Class
Namespace: Stride.Core.AssetsAssembly: Stride.Core.Assets.dll
Helper to compute a stable hash from an asset including all meta informations (ids, overrides).
System.Object →
AssetHash
Derived from AssetHash:
public static class AssetHash
| Name | Description | |
|---|---|---|
| Methods | ||
| Compute(Object, AssetClonerFlags) | Computes a stable hash from an asset including all meta informations (ids, overrides). |
|
Methods
Compute(Object, AssetClonerFlags)
Computes a stable hash from an asset including all meta informations (ids, overrides).
public static ObjectId Compute(object asset, AssetClonerFlags flags = AssetClonerFlags.None)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | asset | An object instance |
| AssetClonerFlags | flags | Flags used to control the serialization process |
Returns
| Type | Description |
|---|---|
| ObjectId | a stable hash |