PointerHandler Class
Definition
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.
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 UnityEngine.EventSystems.IEventSystemHandler
Constructors
PointerHandler() |
Fields
OnPointerClicked |
Unity event raised on pointer clicked. |
OnPointerDown |
Unity event raised on pointer down. |
OnPointerDragged |
Unity event raised every frame the pointer is down. |
OnPointerUp |
Unity event raised on pointer up. |
Properties
IsFocusRequired |
Is Focus required to receive input events on this GameObject? (Inherited from BaseInputHandler) |
Methods
EnsureInputSystemValid() |
A task that will only complete when the input system has in a valid state. (Inherited from InputSystemGlobalHandlerListener) |
OnDisable() | (Inherited from BaseInputHandler) |
OnEnable() | (Inherited from BaseInputHandler) |
RegisterHandlers() | |
Start() | (Inherited from BaseInputHandler) |
UnregisterHandlers() | |
Update() | (Inherited from BaseInputHandler) |