Interface IXRHoverInteractable
An interface that represents an Interactable component which Interactor components can hover over.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit
Assembly: solution.dll
Syntax
public interface IXRHoverInteractable : IXRInteractable
Properties
| Name | Description |
|---|---|
| firstHoverEntered | The event that is called only when the first Interactor begins hovering over this Interactable as the sole hovering Interactor. Subsequent Interactors that begin hovering over this Interactable will not cause this event to be invoked as long as any others are still hovering. |
| hoverEntered | The event that is called when an Interactor begins hovering over this Interactable. |
| hoverExited | The event that is called when an Interactor ends hovering over this Interactable. |
| interactorsHovering | (Read Only) The list of Interactors that are hovering on this Interactable (may by empty). |
| isHovered | (Read Only) Indicates whether an Interactor currently hovers over this Interactable. |
| lastHoverExited | The event that is called only when the last remaining hovering Interactor ends hovering over this Interactable. |
Methods
| Name | Description |
|---|---|
| IsHoverableBy(IXRHoverInteractor) | Determines if a given Interactor can hover over this Interactable. |
| OnHoverEntered(HoverEnterEventArgs) | The XRInteractionManager calls this method when the Interactor first initiates hovering over an Interactable in a second pass. |
| OnHoverEntering(HoverEnterEventArgs) | The XRInteractionManager calls this method right before the Interactor first initiates hovering over an Interactable in a first pass. |
| OnHoverExited(HoverExitEventArgs) | The XRInteractionManager calls this method when the Interactor ends hovering over an Interactable in a second pass. |
| OnHoverExiting(HoverExitEventArgs) | The XRInteractionManager calls this method right before the Interactor ends hovering over an Interactable in a first pass. |