PointerHandler Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Script used to raise Unity Events in response to pointer events.
C++
public ref class PointerHandler : Microsoft::MixedReality::Toolkit::Input::BaseInputHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/PointerHandler")]
public class PointerHandler : Microsoft.MixedReality.Toolkit.Input.BaseInputHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/PointerHandler")>]
type PointerHandler = class
inherit BaseInputHandler
interface IMixedRealityPointerHandler
interface IEventSystemHandler
Public Class PointerHandler
Inherits BaseInputHandler
Implements IEventSystemHandler, IMixedRealityPointerHandler
- Inheritance
- Attributes
-
UnityEngine.AddComponentMenuAttribute
- Implements
-
IMixedRealityPointerHandler Unity
Engine. Event Systems. IEvent System Handler
On |
Unity event raised on pointer clicked. |
On |
Unity event raised on pointer down. |
On |
Unity event raised every frame the pointer is down. |
On |
Unity event raised on pointer up. |
Is |
Is Focus required to receive input events on this GameObject? (Inherited from BaseInputHandler) |
Ensure |
A task that will only complete when the input system has in a valid state. (Inherited from InputSystemGlobalHandlerListener) |
On |
(Inherited from BaseInputHandler) |
On |
(Inherited from BaseInputHandler) |
Register |
|
Start() | (Inherited from BaseInputHandler) |
Unregister |
|
Update() | (Inherited from BaseInputHandler) |
Produkt | Versioner |
---|---|
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 |