空間網格Spatial mesh

空間網格

使用者瞭解裝置如何透過空間網格視覺效果來理解及瞭解實體環境。Users learn how a device perceives and understands the physical environment through spatial mesh visualization. 適當的空間網格視覺效果可在提供空間內容時建立趣味性兼具和神奇體驗。Proper spatial mesh visualization can create a delightful and magical experience while providing spatial context.

設計指導方針Design guideline

請務必讓使用者專注並與內容互動。It's important to allow the user to focus and interact with content. 背景中空間網格的連續視覺效果可能會造成干擾。Continuous visualization of the spatial mesh in the background can be distracting. 建議您在初始啟動時,或當使用者清楚地顯示其想要依目標和空中點擊空間來查看環境網格時,謹慎地視覺化環境。We recommend visualizing the environment sparingly, either only once in the initial launch or when the user clearly shows they want to see the environmental mesh by targeting and air-tapping space. 您可以在混合實境入口中觀察這項行為。You can observe this behavior in the Mixed Reality Portal.

適用于 Unity 的 MRTK (混合現實工具組) 的空間網格視覺效果Spatial mesh visualization in MRTK (Mixed Reality Toolkit) for Unity

MRTK 為空間網格視覺效果提供數種材質。MRTK provides several materials for the spatial mesh visualization.

  • MRTK_Wireframe,MRTK_Wireframe 的材質:預設的靜態空間網格材質,顯示沒有動畫的網格輪廓。MRTK_Wireframe.mat, MRTK_Wireframe.mat: Default static spatial mesh material, which shows the mesh outlines without animation. 這項資料適用于偵錯工具,因為它會顯示整個空間網格幾何。This material is useful for debugging purposes since it shows the entire spatial mesh geometries. 但是,不建議用於生產環境。However, it isn't recommended for production.
    Wireframe spatial mesh visualization

  • MRTK_SurfaceReconstruction 的材質:此材質提供您對空間網格的動畫脈衝效果。MRTK_SurfaceReconstruction.mat: This material gives you an animated pulse effect on the spatial mesh. 您可以使用這份資料,在特定時間或使用者的按兩下輸入時,將環境視覺化。You can use this material to visualize the environment at a specific moment or on the user's air-tap input. 如需範例,請參閱 PulseShaderExamples unity 場景。See PulseShaderExamples.unity scene for the examples.
    Pulse spatial mesh visualization



請參閱See also