docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CaptureAttachPose

    CaptureAttachPose(IXRSelectInteractor)

    Capture the current Attach Transform pose. This method is automatically called by Unity to capture the pose during the moment of selection.

    Declaration
    protected void CaptureAttachPose(IXRSelectInteractor interactor)
    Parameters
    Type Name Description
    IXRSelectInteractor interactor

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

    Remarks

    Unity automatically calls this method during OnSelectEntering(SelectEnterEventArgs) and should not typically need to be called by a user.

    See Also
    GetAttachPoseOnSelect(IXRSelectInteractor)
    GetLocalAttachPoseOnSelect(IXRSelectInteractor)
    CaptureAttachPose(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)