用于将 3D 模型定义为应用的默认表示形式的元素。 从虚拟或混合现实设备启动时,此模型将在虚拟设置中表示应用。
元素层次结构
<程序包>
<应用程序>
<应用程序>
<uap:VisualElements>
<uap:DefaultTile>
<uap5:MixedRealityMode>
语法
<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不能包含以下字符:<、>、、:|"、、 ?或 。* 在此字符串中, / 和 \ 字符不能是第一个或最后一个字符。 此外,字符串可以包含 或 ,\但不能同时包含/两者。 |
是 |
|
子元素
父元素
要求
| 项 |
值 |
| Namespace |
http://schemas.microsoft.com/appx/manifest/uap/windows10/5 |
| Minimum OS Version |
Windows 10版本 1709 (内部版本 16299) |