mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class MixedRealitySpatialAwarenessEventData<T>

    Data for spatial awareness events.

    Inheritance
    Object
    GenericBaseEventData
    MixedRealitySpatialAwarenessEventData
    MixedRealitySpatialAwarenessEventData<T>
    Inherited Members
    MixedRealitySpatialAwarenessEventData.Id
    MixedRealitySpatialAwarenessEventData.Initialize(IMixedRealitySpatialAwarenessObserver, Int32)
    GenericBaseEventData.EventSource
    GenericBaseEventData.EventTime
    GenericBaseEventData.selectedObject
    GenericBaseEventData.BaseInitialize(IMixedRealityEventSource)
    Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
    Assembly: cs.temp.dll.dll
    Syntax
    public class MixedRealitySpatialAwarenessEventData<T> : MixedRealitySpatialAwarenessEventData
    Type Parameters
    Name Description
    T

    The spatial object data type.

    Constructors

    MixedRealitySpatialAwarenessEventData(EventSystem)

    Constructor.

    Declaration
    public MixedRealitySpatialAwarenessEventData(EventSystem eventSystem)
    Parameters
    Type Name Description
    EventSystem eventSystem

    Properties

    SpatialObject

    The spatial object to which this event pertains.

    Declaration
    public T SpatialObject { get; }
    Property Value
    Type Description
    T

    Methods

    Initialize(IMixedRealitySpatialAwarenessObserver, Int32, T)

    Initialize the event data.

    Declaration
    public void Initialize(IMixedRealitySpatialAwarenessObserver observer, int id, T spatialObject)
    Parameters
    Type Name Description
    IMixedRealitySpatialAwarenessObserver observer

    The IMixedRealitySpatialAwarenessObserver that raised the event.

    Int32 id

    The identifier of the observed spatial object.

    T spatialObject

    The observed spatial object.

    In This Article
    • Constructors
      • MixedRealitySpatialAwarenessEventData(EventSystem)
    • Properties
      • SpatialObject
    • Methods
      • Initialize(IMixedRealitySpatialAwarenessObserver, Int32, T)
    Back to top Generated by DocFX