Share via


SpatialBoundingSphere Struct

Definition

A bounding sphere in the user's surroundings, with coordinates expressed in meters.

/// [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
Inheritance
SpatialBoundingSphere
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Remarks

The SpatialBoundingSphere is defined by its center and radius. Its coordinates are expressed in meters, and are meaningful in a specific coordinate system usually specified alongside the sphere.

Fields

Center

The position of the center of the sphere.

Radius

The radius of the sphere.

Applies to