docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property point

    point

    The location on the object (in world space) where the distance was calculated from.

    Declaration
    public Vector3 point { get; set; }
    Property Value
    Type Description
    Vector3
    Remarks

    When used with the method TryGetClosestPointOnCollider(IXRInteractable, Vector3, out DistanceInfo), point contains the collider's position.

    When used with the method TryGetClosestCollider(IXRInteractable, Vector3, out DistanceInfo), this property contains the point on the collider closest to the location used for calculation.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)