Hololens/Lib/Collisions.cs
//###################################################################################################################
/// <summary>
/// Overrided method called at the beginning of the application. Create transparent material and start the spatial mapping.
/// </summary>
Overrided method called at the beginning of the application. Create transparent material and start the spatial mapping.
Overrided method called at the beginning of the application . Create transparent material and start the spatial mapping .
protected override async void Start()
        {
            base.Start(); 
            _transparentMaterial = new Material();
            _transparentMaterial.SetTechnique(0, CoreAssets.Techniques.NoTextureUnlitVCol, 1, 1);
            await StartSpatialMapping(new Vector3(5, 3, 5), 1200);
        }
protected override async void Start ( ) { base . Start ( ) ; _transparentMaterial = new Material ( ) ; _transparentMaterial . SetTechnique ( 0 , CoreAssets . Techniques . NoTextureUnlitVCol , 1 , 1 ) ; await StartSpatialMapping ( new Vector3 ( 5 , 3 , 5 ) , 1200 ) ; }
Overrided method called at the beginning of the application.
Overrided method called at the beginning of the application .
// inherited method // range x=5m, y=3m, z=5m, nb triangles/m3 = 1200