mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class TestSpatialAwarenessDataProvider

    Dummy test IMixedRealitySpatialAwarenessObserver implementation only used for testing

    Inheritance
    Object
    BaseService
    BaseDataProvider<IMixedRealityService>
    TestBaseDataProvider
    TestSpatialAwarenessDataProvider
    Implements
    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    IMixedRealitySpatialAwarenessObserver
    IMixedRealitySpatialAwarenessMeshObserver
    Inherited Members
    TestBaseDataProvider.IsEnabled
    TestBaseDataProvider.IsInitialized
    TestBaseDataProvider.Initialize()
    TestBaseDataProvider.Reset()
    TestBaseDataProvider.Enable()
    TestBaseDataProvider.Disable()
    TestBaseDataProvider.Destroy()
    BaseDataProvider<IMixedRealityService>.Registrar
    BaseDataProvider<IMixedRealityService>.Service
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Update()
    BaseService.LateUpdate()
    BaseService.disposed
    BaseService.Dispose()
    BaseService.Dispose(Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Tests.Services
    Assembly: cs.temp.dll.dll
    Syntax
    public class TestSpatialAwarenessDataProvider : TestBaseDataProvider, ITestSpatialAwarenessDataProvider, IMixedRealityDataProvider, ITestService, IMixedRealityService, IDisposable, IMixedRealitySpatialAwarenessObserver, IMixedRealitySpatialAwarenessMeshObserver

    Constructors

    TestSpatialAwarenessDataProvider(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)

    Declaration
    public TestSpatialAwarenessDataProvider(IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem
    String name
    UInt32 priority
    BaseMixedRealityProfile profile

    Properties

    DefaultPhysicsLayer

    Declaration
    public int DefaultPhysicsLayer { get; }
    Property Value
    Type Description
    Int32

    DisplayOption

    Declaration
    public SpatialAwarenessMeshDisplayOptions DisplayOption { get; set; }
    Property Value
    Type Description
    SpatialAwarenessMeshDisplayOptions

    IsRunning

    Declaration
    public bool IsRunning { get; }
    Property Value
    Type Description
    Boolean

    IsStationaryObserver

    Declaration
    public bool IsStationaryObserver { get; set; }
    Property Value
    Type Description
    Boolean

    LevelOfDetail

    Declaration
    public SpatialAwarenessMeshLevelOfDetail LevelOfDetail { get; set; }
    Property Value
    Type Description
    SpatialAwarenessMeshLevelOfDetail

    Meshes

    Declaration
    public IReadOnlyDictionary<int, SpatialAwarenessMeshObject> Meshes { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<Int32, SpatialAwarenessMeshObject>

    MeshPhysicsLayer

    Declaration
    public int MeshPhysicsLayer { get; set; }
    Property Value
    Type Description
    Int32

    MeshPhysicsLayerMask

    Declaration
    public int MeshPhysicsLayerMask { get; }
    Property Value
    Type Description
    Int32

    ObservationExtents

    Declaration
    public Vector3 ObservationExtents { get; set; }
    Property Value
    Type Description
    Vector3

    ObserverOrigin

    Declaration
    public Vector3 ObserverOrigin { get; set; }
    Property Value
    Type Description
    Vector3

    ObserverRotation

    Declaration
    public Quaternion ObserverRotation { get; set; }
    Property Value
    Type Description
    Quaternion

    ObserverVolumeType

    Declaration
    public VolumeType ObserverVolumeType { get; set; }
    Property Value
    Type Description
    VolumeType

    OcclusionMaterial

    Declaration
    public Material OcclusionMaterial { get; set; }
    Property Value
    Type Description
    Material

    RecalculateNormals

    Declaration
    public bool RecalculateNormals { get; set; }
    Property Value
    Type Description
    Boolean

    SourceId

    Declaration
    public uint SourceId { get; }
    Property Value
    Type Description
    UInt32

    SourceName

    Declaration
    public string SourceName { get; }
    Property Value
    Type Description
    String

    StartupBehavior

    Declaration
    public AutoStartBehavior StartupBehavior { get; set; }
    Property Value
    Type Description
    AutoStartBehavior

    TrianglesPerCubicMeter

    Declaration
    public int TrianglesPerCubicMeter { get; set; }
    Property Value
    Type Description
    Int32

    UpdateInterval

    Declaration
    public float UpdateInterval { get; set; }
    Property Value
    Type Description
    Single

    VisibleMaterial

    Declaration
    public Material VisibleMaterial { get; set; }
    Property Value
    Type Description
    Material

    Methods

    ClearObservations()

    Declaration
    public void ClearObservations()

    Equals(Object, Object)

    Declaration
    public bool Equals(object x, object y)
    Parameters
    Type Name Description
    Object x
    Object y
    Returns
    Type Description
    Boolean

    GetHashCode(Object)

    Declaration
    public int GetHashCode(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Int32

    Resume()

    Declaration
    public void Resume()

    Suspend()

    Declaration
    public void Suspend()

    Implements

    IMixedRealityDataProvider
    IMixedRealityService
    IDisposable
    IMixedRealitySpatialAwarenessObserver
    IMixedRealitySpatialAwarenessMeshObserver
    In This Article
    • Constructors
      • TestSpatialAwarenessDataProvider(IMixedRealitySpatialAwarenessSystem, String, UInt32, BaseMixedRealityProfile)
    • Properties
      • DefaultPhysicsLayer
      • DisplayOption
      • IsRunning
      • IsStationaryObserver
      • LevelOfDetail
      • Meshes
      • MeshPhysicsLayer
      • MeshPhysicsLayerMask
      • ObservationExtents
      • ObserverOrigin
      • ObserverRotation
      • ObserverVolumeType
      • OcclusionMaterial
      • RecalculateNormals
      • SourceId
      • SourceName
      • StartupBehavior
      • TrianglesPerCubicMeter
      • UpdateInterval
      • VisibleMaterial
    • Methods
      • ClearObservations()
      • Equals(Object, Object)
      • GetHashCode(Object)
      • Resume()
      • Suspend()
    • Implements
    Back to top Generated by DocFX