docs.unity.cn
    Show / Hide Table of Contents

    Class GuidUtil

    Utility for dealing with Guids.

    Inheritance
    Object
    GuidUtil
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public static class GuidUtil

    Methods

    Compose(UInt64, UInt64)

    Reconstructs a Guid from two ulongs representing the low and high bytes. Use GuidUtil.Decompose to decompose the guid into its low and high components.

    Declaration
    public static Guid Compose(ulong low, ulong high)
    Parameters
    Type Name Description
    UInt64 low

    The low 8 bytes of the guid

    UInt64 high

    The high 8 bytes of the guid.

    Returns
    Type Description
    Guid

    The Guid composed of low and high.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, July 14, 2023