Redigera

Dela via


IMixedRealityPointerHandler Interface

Definition

Interface to implement to react to simple pointer input.

public interface class IMixedRealityPointerHandler : UnityEngine::EventSystems::IEventSystemHandler
public interface IMixedRealityPointerHandler : UnityEngine.EventSystems.IEventSystemHandler
type IMixedRealityPointerHandler = interface
    interface IEventSystemHandler
Public Interface IMixedRealityPointerHandler
Implements IEventSystemHandler
Derived
Implements
UnityEngine.EventSystems.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.

OnPointerDown(MixedRealityPointerEventData)

When a pointer down event is raised, this method is used to pass along the event data to the input handler.

OnPointerDragged(MixedRealityPointerEventData)

Called every frame a pointer is down. Can be used to implement drag-like behaviors.

OnPointerUp(MixedRealityPointerEventData)

When a pointer up event is raised, this method is used to pass along the event data to the input handler.

Applies to