Class MixedRealitySpatialAwarenessEventData
Data for spatial awareness events.
Inheritance
MixedRealitySpatialAwarenessEventData
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealitySpatialAwarenessEventData : GenericBaseEventData
Constructors
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 |
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. |