docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetAttachPoseOnSelect

    GetAttachPoseOnSelect(IXRSelectInteractable)

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

    Declaration
    public Pose GetAttachPoseOnSelect(IXRSelectInteractable interactable)
    Parameters
    Type Name Description
    IXRSelectInteractable interactable

    The specific Interactable 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 during the current selection stack.

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