docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method EndSocketSnapping

    EndSocketSnapping(XRGrabInteractable)

    Ends socket snapping for a specified XRGrabInteractable object.

    Declaration
    protected virtual bool EndSocketSnapping(XRGrabInteractable grabInteractable)
    Parameters
    Type Name Description
    XRGrabInteractable grabInteractable

    The XRGrabInteractable object to end socket snapping for.

    Returns
    Type Description
    bool

    Returns true if the specified grab interactable was found and removed; otherwise, false.

    Remarks

    Removes the specified grab interactable from the local interactables with socket transformer list and removes it from the socket grab transformer.

    See Also
    StartSocketSnapping(XRGrabInteractable)
    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)