/// <summary>
        /// The default values
        /// </summary>
        protected override void DefaultValues()
        {
            base.DefaultValues();

#if UWP
            this.spatialMappingManager = new SpatialMappingManagerUWP();
            this.Surfaces = new ReadOnlyDictionary <Guid, SpatialMappingSurface>(this.spatialMappingManager.Surfaces);
#endif

            this.obtainNormals          = true;
            this.extents                = Vector3.One * 10.0f;
            this.trianglesPerCubicMeter = 500;
        }
        /// <summary>
        /// Releases unmanaged and - optionally - managed resources
        /// </summary>
        /// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
        private void Dispose(bool disposing)
        {
            if (!this.disposed)
            {
                if (disposing)
                {
                    if (this.IsConnected)
                    {
                        this.spatialMappingManager.Dispose();
                        this.spatialMappingManager = null;
                    }
                }

                this.disposed = true;
            }
        }