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.

    Show / Hide Table of Contents

    Class GenericBaseEventData

    Generic Base Event Data for Sending Events through the Event System.

    Inheritance
    Object
    GenericBaseEventData
    BoundaryEventData
    DiagnosticsEventData
    PlacementEventData
    MixedRealitySpatialAwarenessEventData
    TeleportEventData
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public class GenericBaseEventData : BaseEventData

    Constructors

    GenericBaseEventData(EventSystem)

    Constructor.

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

    Usually EventSystems.EventSystem.current

    Properties

    EventSource

    The Event Source that the event originates from.

    Declaration
    public IMixedRealityEventSource EventSource { get; }
    Property Value
    Type Description
    IMixedRealityEventSource

    EventTime

    The UTC time at which the event occurred.

    Declaration
    public DateTime EventTime { get; }
    Property Value
    Type Description
    DateTime

    Methods

    BaseInitialize(IMixedRealityEventSource)

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

    Declaration
    protected void BaseInitialize(IMixedRealityEventSource eventSource)
    Parameters
    Type Name Description
    IMixedRealityEventSource eventSource

    The source of the event.

    Back to top Generated by DocFX