Table of Contents

Class AssetHash

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

Helper to compute a stable hash from an asset including all meta informations (ids, overrides).

public static class AssetHash
Inheritance
AssetHash

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

asset object

An object instance

flags AssetClonerFlags

Flags used to control the serialization process

Returns

ObjectId

a stable hash