Class TestSpatialAwarenessDataProvider
Dummy test IMixedRealitySpatialAwarenessObserver implementation only used for testing
Inheritance
TestSpatialAwarenessDataProvider
Implements
IMixedRealitySpatialAwarenessObserver
IMixedRealitySpatialAwarenessMeshObserver
Assembly: cs.temp.dll.dll
[MixedRealityDataProvider(typeof(IMixedRealitySpatialAwarenessSystem), null, "Test Spatial Awareness Data Provider", "Profiles/DefaultMixedRealitySpatialAwarenessMeshObserverProfile.asset", "MixedRealityToolkit.SDK")]
public class TestSpatialAwarenessDataProvider : TestBaseDataProvider, ITestSpatialAwarenessDataProvider, IMixedRealityDataProvider, ITestService, IMixedRealityService, IDisposable, IMixedRealitySpatialAwarenessObserver, IMixedRealitySpatialAwarenessMeshObserver
Constructors
Declaration
public TestSpatialAwarenessDataProvider(IMixedRealityServiceRegistrar registrar, IMixedRealitySpatialAwarenessSystem spatialAwarenessSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Properties
Declaration
public int DefaultPhysicsLayer { get; }
Property Value
Declaration
public SpatialAwarenessMeshDisplayOptions DisplayOption { get; set; }
Property Value
Type |
Description |
SpatialAwarenessMeshDisplayOptions |
|
Declaration
public bool IsRunning { get; }
Property Value
Declaration
public bool IsStationaryObserver { get; set; }
Property Value
Declaration
public SpatialAwarenessMeshLevelOfDetail LevelOfDetail { get; set; }
Property Value
Type |
Description |
SpatialAwarenessMeshLevelOfDetail |
|
Declaration
public IReadOnlyDictionary<int, SpatialAwarenessMeshObject> Meshes { get; }
Property Value
Type |
Description |
IReadOnlyDictionary<Int32, SpatialAwarenessMeshObject> |
|
Declaration
public int MeshPhysicsLayer { get; set; }
Property Value
Declaration
public int MeshPhysicsLayerMask { get; }
Property Value
Declaration
public Vector3 ObservationExtents { get; set; }
Property Value
Declaration
public Vector3 ObserverOrigin { get; set; }
Property Value
Declaration
public Quaternion ObserverRotation { get; set; }
Property Value
Type |
Description |
Quaternion |
|
Declaration
public VolumeType ObserverVolumeType { get; set; }
Property Value
Type |
Description |
VolumeType |
|
Declaration
public Material OcclusionMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
Declaration
public bool RecalculateNormals { get; set; }
Property Value
Declaration
public uint SourceId { get; }
Property Value
Declaration
public string SourceName { get; }
Property Value
Declaration
public AutoStartBehavior StartupBehavior { get; set; }
Property Value
Type |
Description |
AutoStartBehavior |
|
Declaration
public int TrianglesPerCubicMeter { get; set; }
Property Value
Declaration
public float UpdateInterval { get; set; }
Property Value
Declaration
public Material VisibleMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
Methods
Declaration
public void ClearObservations()
Declaration
public bool Equals(object x, object y)
Parameters
Returns
Declaration
public int GetHashCode(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Declaration
Declaration
Implements
IMixedRealitySpatialAwarenessObserver
IMixedRealitySpatialAwarenessMeshObserver