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 |