docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IFarAttachProvider

    Interface queried by an interactor when selecting an interactable to override how the interactor's attach transform should behave on far select.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Attachment
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public interface IFarAttachProvider

    Properties

    farAttachMode

    When selected because of a far interaction caster, controls how the interactor should attach to the interactable. Specifically, it controls whether the interactor's attach transform should move to the far hit point or whether it should stay near so the object can move to the hand.

    Declaration
    InteractableFarAttachMode farAttachMode { get; set; }
    Property Value
    Type Description
    InteractableFarAttachMode
    See Also
    XRGrabInteractable

    See Also

    XRGrabInteractable
    In This Article
    Back to top
    Copyright © 2025 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)