Class MixedRealitySpatialAwarenessEventData
Data for spatial awareness events.
Inheritance
MixedRealitySpatialAwarenessEventData
Implements
BaseEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealitySpatialAwarenessEventData : GenericBaseEventData, BaseEventData
Constructors
MixedRealitySpatialAwarenessEventData(EventSystem)
Constructor.
Declaration
public MixedRealitySpatialAwarenessEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
MixedRealitySpatialAwarenessEventData(EventSystem)
Constructor.
Declaration
public MixedRealitySpatialAwarenessEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem |
Properties
Id
Identifier of the object associated with this event.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
Int32 |
Id
Identifier of the object associated with this event.
Declaration
public int Id { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Initialize(IMixedRealitySpatialAwarenessObserver, Int32)
Initialize the event data.
Declaration
public void Initialize(IMixedRealitySpatialAwarenessObserver observer, int id)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealitySpatialAwarenessObserver | observer | The IMixedRealitySpatialAwarenessObserver that raised the event. |
Int32 | id | The identifier of the observed spatial object. |
Initialize(IMixedRealitySpatialAwarenessObserver, Int32)
Initialize the event data.
Declaration
public void Initialize(IMixedRealitySpatialAwarenessObserver observer, int id)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealitySpatialAwarenessObserver | observer | The IMixedRealitySpatialAwarenessObserver that raised the event. |
Int32 | id | The identifier of the observed spatial object. |
Implements
BaseEventData