mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class InputEventData

    Describes an Input Event that has a source id.

    Inheritance
    Object
    BaseInputEventData
    InputEventData
    InputEventData<T>
    MixedRealityPointerEventData
    Inherited Members
    BaseInputEventData.EventTime
    BaseInputEventData.InputSource
    BaseInputEventData.SourceId
    BaseInputEventData.MixedRealityInputAction
    BaseInputEventData.BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class InputEventData : BaseInputEventData

    Constructors

    InputEventData(EventSystem)

    Constructor.

    Declaration
    public InputEventData(EventSystem eventSystem)
    Parameters
    Type Name Description
    EventSystem eventSystem

    Typically will be EventSystems.EventSystem.current

    Properties

    Handedness

    Handedness of the IMixedRealityInputSource.

    Declaration
    public Handedness Handedness { get; }
    Property Value
    Type Description
    Handedness

    Methods

    Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)

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

    Declaration
    public void Initialize(IMixedRealityInputSource inputSource, Handedness handedness, MixedRealityInputAction inputAction)
    Parameters
    Type Name Description
    IMixedRealityInputSource inputSource
    Handedness handedness
    MixedRealityInputAction inputAction
    In This Article
    • Constructors
      • InputEventData(EventSystem)
    • Properties
      • Handedness
    • Methods
      • Initialize(IMixedRealityInputSource, Handedness, MixedRealityInputAction)
    Back to top Generated by DocFX