MixedRealitySpatialAwarenessEventData<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Data for spatial awareness events.
generic <typename T>
public ref class MixedRealitySpatialAwarenessEventData : Microsoft::MixedReality::Toolkit::SpatialAwareness::MixedRealitySpatialAwarenessEventData
public class MixedRealitySpatialAwarenessEventData<T> : Microsoft.MixedReality.Toolkit.SpatialAwareness.MixedRealitySpatialAwarenessEventData
type MixedRealitySpatialAwarenessEventData<'T> = class
inherit MixedRealitySpatialAwarenessEventData
Public Class MixedRealitySpatialAwarenessEventData(Of T)
Inherits MixedRealitySpatialAwarenessEventData
Type Parameters
- T
The spatial object data type.
- Inheritance
-
UnityEngine.EventSystems.BaseEventDataMixedRealitySpatialAwarenessEventData<T>
Constructors
MixedRealitySpatialAwarenessEventData<T>(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. (Inherited from MixedRealitySpatialAwarenessEventData) |
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) |
SpatialObject |
The spatial object to which this event pertains. |
Methods
BaseInitialize(IMixedRealityEventSource) |
Used to initialize/reset the event and populate the data. (Inherited from GenericBaseEventData) |
Initialize(IMixedRealitySpatialAwarenessObserver, Int32, T) |
Initialize the event data. |
Initialize(IMixedRealitySpatialAwarenessObserver, Int32) |
Initialize the event data. (Inherited from MixedRealitySpatialAwarenessEventData) |