Interface IXRSelectInteractable
An interface that represents an Interactable component which an Interactor component can select.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public interface IXRSelectInteractable : IXRInteractable
Properties
| Name | Description |
|---|---|
| firstInteractorSelecting | (Read Only) The first interactor that selected this interactable since not being selected by any interactor. The interactor may not currently be selecting this interactable, which would be the case when it released while multiple interactors were selecting this interactable. |
| firstSelectEntered | The event that is called only when the first Interactor begins selecting this Interactable as the sole selecting Interactor. Subsequent Interactors that begin selecting this Interactable will not cause this event to be invoked as long as any others are still selecting. |
| interactorsSelecting | (Read Only) The list of Interactors currently selecting this Interactable (may by empty). |
| isSelected | (Read Only) Indicates whether this interactable is currently being selected by any interactor. |
| lastSelectExited | The event that is called only when the last remaining selecting Interactor ends selecting this Interactable. |
| selectEntered | The event that is called when an Interactor begins selecting this Interactable. |
| selectExited | The event that is called when an Interactor ends selecting this Interactable. |
| selectMode | Indicates the selection policy of an Interactable. |
Methods
| Name | Description |
|---|---|
| GetAttachPoseOnSelect(IXRSelectInteractor) | Gets the world position and rotation of the Attach Transform captured during the moment of selection. |
| GetLocalAttachPoseOnSelect(IXRSelectInteractor) | Gets the local position and rotation of the Attach Transform captured during the moment of selection. |
| IsSelectableBy(IXRSelectInteractor) | Determines if a given Interactor can select this Interactable. |
| OnSelectEntered(SelectEnterEventArgs) | The XRInteractionManager calls this method when the Interactor first initiates selection of an Interactable in a second pass. |
| OnSelectEntering(SelectEnterEventArgs) | The XRInteractionManager calls this method right before the Interactor first initiates selection of an Interactable in a first pass. |
| OnSelectExited(SelectExitEventArgs) | The XRInteractionManager calls this method when the Interactor ends selection of an Interactable in a second pass. |
| OnSelectExiting(SelectExitEventArgs) | The XRInteractionManager calls this method right before the Interactor ends selection of an Interactable in a first pass. |