Modifica

Condividi tramite


MixedRealitySpatialAwarenessEventData Class

Definition

Data for spatial awareness events.

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

Constructors

MixedRealitySpatialAwarenessEventData(EventSystem)

Constructor.

Properties

EventSource

The Event Source that the event originates from.

(Inherited from GenericBaseEventData)
EventTime

The UTC time at which the event occurred.

(Inherited from GenericBaseEventData)
Id

Identifier of the object associated with this event.

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.

(Inherited from GenericBaseEventData)

Methods

BaseInitialize(IMixedRealityEventSource)

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

(Inherited from GenericBaseEventData)
Initialize(IMixedRealitySpatialAwarenessObserver, Int32)

Initialize the event data.

Applies to