Interface IMixedRealityPointerHandler
Interface to implement to react to simple pointer input.
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityPointerHandler : IEventSystemHandler
Methods
OnPointerClicked(MixedRealityPointerEventData)
When a pointer clicked event is raised, this method is used to pass along the event data to the input handler.
Declaration
void OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityPointerEventData | eventData |
OnPointerDown(MixedRealityPointerEventData)
When a pointer down event is raised, this method is used to pass along the event data to the input handler.
Declaration
void OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityPointerEventData | eventData |
OnPointerDragged(MixedRealityPointerEventData)
Called every frame a pointer is down. Can be used to implement drag-like behaviors.
Declaration
void OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityPointerEventData | eventData |
OnPointerUp(MixedRealityPointerEventData)
When a pointer up event is raised, this method is used to pass along the event data to the input handler.
Declaration
void OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Type | Name | Description |
---|---|---|
MixedRealityPointerEventData | eventData |