docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetAttachPoseOnSelect

    GetAttachPoseOnSelect(IXRSelectInteractor)

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

    Declaration
    public Pose GetAttachPoseOnSelect(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 world 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.GetAttachPoseOnSelect(IXRSelectInteractor)
    See Also
    GetLocalAttachPoseOnSelect(IXRSelectInteractor)
    GetAttachTransform(IXRInteractor)
    GetAttachPoseOnSelect(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)