Language
Edit

GenericBaseEventData Class

Definition

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

public ref class GenericBaseEventData : UnityEngine::EventSystems::BaseEventData
public class GenericBaseEventData : UnityEngine.EventSystems.BaseEventData
type GenericBaseEventData = class
    inherit BaseEventData
Public Class GenericBaseEventData
Inherits BaseEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
GenericBaseEventData
Derived

Constructors

Name Description
GenericBaseEventData(EventSystem)

Constructor.

Properties

Name Description
EventSource

The Event Source that the event originates from.

EventTime

The UTC time at which the event occurred.

selectedObject

The BaseEventData.selectedObject is explicitly hidden because access to it (either via get or set) throws a NullReferenceException in typical usage within the MRTK. Prefer using the subclasses own fields to access information about the event instead of fields on BaseEventData.

Methods

Name Description
BaseInitialize(IMixedRealityEventSource)

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

Applies to