Share via


uap5:MixedRealityModel

元素,用來定義 3D 模型做為應用程式的預設標記法。 從虛擬或混合實境裝置啟動時,此模型將會代表虛擬設定中的應用程式。

元素階層

<封裝>

    <應用程式>

         <應用程式>

              <uap:VisualElements>

                   <uap:DefaultTile>

                        <uap5:MixedRealityMode>

Syntax

<uap5:MixedRealityModel
  Path = 'A string with a value between 1 and 256 characters in length that ends with ".glb" and cannot contain these characters: <, >, :, ", |, ?, or *. In this string, the / and \ characters cannot be the first or last characters. Also, the string can contain / or \ but not both.' >

  <!-- Child elements -->
  uap6:SpatialBoundingBox?

</uap5:MixedRealityModel>

答案

? 選擇性 (零或一個)

屬性和元素

屬性

屬性 描述 資料類型 必要 預設值
路徑 要使用的 3D 資產路徑。 長度介於 1 到 256 個字元之間的字串,結尾為 .glb 且不能包含下列字元: < 、、 >": 、、 |?* 。 在此字串中 / ,和 \ 字元不能是第一個或最後一個字元。 此外,字串也可以包含 或 , \ 但不能同時包含 / 兩者。 Yes

子元素

子項目 描述
SpatialBoundingBox 用來定義周框磁片區的中心點和範圍。

父元素

父元素 描述
Uap:

規格需求

Item
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/5
OS 最低版本 Windows 10版本 1709 (組建 16299)