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