Modifica

Condividi tramite


MixedRealitySpatialAwarenessEventData<T>.Initialize Method

Definition

Initialize the event data.

public:
 void Initialize(Microsoft::MixedReality::Toolkit::SpatialAwareness::IMixedRealitySpatialAwarenessObserver ^ observer, int id, T spatialObject);
public void Initialize (Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver observer, int id, T spatialObject);
override this.Initialize : Microsoft.MixedReality.Toolkit.SpatialAwareness.IMixedRealitySpatialAwarenessObserver * int * 'T -> unit
Public Sub Initialize (observer As IMixedRealitySpatialAwarenessObserver, id As Integer, spatialObject As T)

Parameters

id
Int32

The identifier of the observed spatial object.

spatialObject
T

The observed spatial object.

Applies to