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: Unity.XR.CoreUtils
    Syntax
    public static class GuidUtil

    Methods

    Compose(UInt64, UInt64)

    Reconstructs a Guid from two ulongs representing the low and high bytes. Use UnityEditor.XR.ARSubsystems.GuidExtensions.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 © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, December 21, 2022
    Terms of use