C Specification

An XrSceneSphereBoundMSFT structure describes the center and radius of a sphere bounds.

// Provided by XR_MSFT_scene_understanding
typedef struct XrSceneSphereBoundMSFT {
    XrVector3f    center;
    float         radius;
} XrSceneSphereBoundMSFT;

Members

Member Descriptions
  • center is an XrVector3f representing the center of the sphere bound within the reference frame of the corresponding XrSceneBoundsMSFT::space.

  • radius is the finite positive radius of the sphere bound.

Description

The runtime must return XR_ERROR_VALIDATION_FAILURE if radius is not a finite positive value.

Valid Usage (Implicit)

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024, The Khronos Group Inc.