docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetLocalAttachPoseOnSelect

    GetLocalAttachPoseOnSelect(IXRSelectInteractor)

    Gets the local position and rotation of the Attach Transform captured during the moment of selection.

    Declaration
    public Pose GetLocalAttachPoseOnSelect(IXRSelectInteractor interactor)
    Parameters
    Type Name Description
    IXRSelectInteractor interactor

    The specific Interactor as context to get the attachment point for.

    Returns
    Type Description
    Pose

    Returns the local pose of the attachment point during the moment of selection, and otherwise the identity Pose if it was not selected by it during the current selection stack.

    Implements
    IXRSelectInteractable.GetLocalAttachPoseOnSelect(IXRSelectInteractor)
    See Also
    GetAttachPoseOnSelect(IXRSelectInteractor)
    GetAttachTransform(IXRInteractor)
    GetLocalAttachPoseOnSelect(IXRSelectInteractable)
    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)