MixedRealityPointerEventData Class

Definition

Describes an Input Event that involves a tap, click, or touch.

public ref class MixedRealityPointerEventData : Microsoft::MixedReality::Toolkit::Input::InputEventData
public class MixedRealityPointerEventData : Microsoft.MixedReality.Toolkit.Input.InputEventData
type MixedRealityPointerEventData = class
    inherit InputEventData
Public Class MixedRealityPointerEventData
Inherits InputEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
MixedRealityPointerEventData

Constructors

MixedRealityPointerEventData(EventSystem)

Constructor.

Properties

Count

Number of Clicks, Taps, or Presses that triggered the event.

EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
Handedness

Handedness of the IMixedRealityInputSource.

(Inherited from InputEventData)
InputSource

The source the input event originates from.

(Inherited from BaseInputEventData)
MixedRealityInputAction

The input action for this event.

(Inherited from BaseInputEventData)
Pointer

Pointer for the Input Event

SourceId

The id of the source the event is from, for instance the hand id.

(Inherited from BaseInputEventData)

Methods

BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from BaseInputEventData)
Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from InputEventData)
Initialize(IMixedRealityPointer, Handedness, MixedRealityInputAction, Int32)

Used to initialize/reset the event and populate the data.

Initialize(IMixedRealityPointer, MixedRealityInputAction, Handedness, IMixedRealityInputSource, Int32)

Used to initialize/reset the event and populate the data.

Applies to