Class XRRayInteractor.RaycastHitComparer | XR Interaction Toolkit | 0.10.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRRayInteractor.RaycastHitComparer

    Inheritance
    Object
    XRRayInteractor.RaycastHitComparer
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    protected class RaycastHitComparer : IComparer<RaycastHit>

    Methods

    Compare(RaycastHit, RaycastHit)

    Declaration
    public int Compare(RaycastHit a, RaycastHit b)
    Parameters
    Type Name Description
    RaycastHit a
    RaycastHit b
    Returns
    Type Description
    Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023