Interface IXRHoverFilter
Instances that implement this interface are called hover filters. Hover filters process additional validation checks after the base class hover validation checks are processed. Add a hover filter to the following objects to extend its hover validations:
- XRInteractionManager: to add a global hover filter used to validate all hover interactions in the manager.
- XRBaseInteractor: to add an Interactor hover filter used to validate the hover interactions in the Interactor.
- XRBaseInteractable: to add an Interactable hover filter used to validate the hover interactions in the Interactable.
Namespace: UnityEngine.XR.Interaction.Toolkit.Filtering
Assembly: solution.dll
Syntax
public interface IXRHoverFilter
Properties
| Name | Description |
|---|---|
| canProcess | Whether this hover filter can process interactions. Hover filters that can process interactions receive calls to Process(IXRHoverInteractor, IXRHoverInteractable), hover filters that cannot process do not. |
Methods
| Name | Description |
|---|---|
| Process(IXRHoverInteractor, IXRHoverInteractable) | Called by the host object (XRInteractionManager, XRBaseInteractor or XRBaseInteractable) to verify if the hover interaction between the given Interactor and Interactable can be performed. |