Language
Edit

IXRProximityInteractable Interface

Definition

This interface is used to update the enable state of the Components that are in the ProximityEnabledComponents array (set in Editor) and to keep track of which UnityEngine.Collider and UnityEngine.XR.Interaction.Toolkit.XRBaseInteractor duples are triggering proximity.

public interface IXRProximityInteractable
type IXRProximityInteractable = interface
Public Interface IXRProximityInteractable
Derived

Remarks

This interface is needed to prevent a circular reference between MRTK Input and MRTK UX Core Scripts packages.

Methods

Name Description
OnProximityEntered(ProximityEnteredEventArgs)

Registers the Detector as triggering proximity.

OnProximityExited(ProximityExitedEventArgs)

Unregisters the Detector as triggering proximity.

Applies to