Share via


SpatialBoundingOrientedBox 結構

定義

使用者周圍的方向周框方塊,並以公尺表示的座標。

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
struct SpatialBoundingOrientedBox
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public struct SpatialBoundingOrientedBox
var spatialBoundingOrientedBox = {
center : /* Your value */,
extents : /* Your value */,
orientation : /* Your value */
}
Public Structure SpatialBoundingOrientedBox
繼承
SpatialBoundingOrientedBox
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)

備註

SpatialBoundingOrientedBox 是由其中心與範圍所定義,再加上相對於座標系統座標軸的方向。 其座標會以公尺表示,而且在通常會與方塊一起指定的特定座標系統中有意義。

欄位

Center

周框方塊中央的位置。

Extents

旋轉之前,沿著每個軸的周框方塊大小。

Orientation

周框方塊的旋轉,相對於座標系統的座標軸。

適用於