IMixedRealitySourceStateHandler Interface

Definition

Interface to implement to react to source state changes, such as when an input source is detected or lost.

C++
public interface class IMixedRealitySourceStateHandler : UnityEngine::EventSystems::IEventSystemHandler
Derived
Implements
UnityEngine.EventSystems.IEventSystemHandler

Methods

OnSourceDetected(SourceStateEventData)

Raised when a source is detected.

OnSourceLost(SourceStateEventData)

Raised when a source is lost.

Applies to

Produkt Verzie
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0