Share via


SpatialBoundingSphere 結構

定義

使用者周圍的周框球體,並以公尺表示的座標。

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

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 引進)

備註

SpatialBoundingSphere 是由其中心與半徑所定義。 其座標會以公尺表示,而且在通常會與球體一起指定的特定座標系統中有意義。

欄位

Center

球體中央的位置。

Radius

圓球的半徑。

適用於