Class AssetHash
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
objectAn object instance
flags
AssetClonerFlagsFlags used to control the serialization process
Returns
- ObjectId
a stable hash