Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    AssetHash Class

    Namespace: Stride.Core.Assets
    Assembly: 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).

    | Improve this Doc View Source

    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


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation