C Specification

An XrSceneFrustumBoundMSFT structure describes the pose, field of view, and far distance of a frustum bounds.

typedef struct XrSceneFrustumBoundMSFT {
    XrPosef    pose;
    XrFovf     fov;
    float      farDistance;
} XrSceneFrustumBoundMSFT;

Members

Member Descriptions
  • pose is an XrPosef defining the position and orientation of the tip of the frustum bound within the reference frame of the corresponding XrSceneBoundsMSFT::space.

  • fov is an XrFovf for the four sides of the frustum bound where angleLeft and angleRight are along the X axis and angleUp and angleDown are along the Y axis of the frustum bound space.

  • farDistance is the positive distance of the far plane of the frustum bound along the -Z direction of the frustum bound space.

Description

The runtime must return XR_ERROR_VALIDATION_FAILURE if farDistance is less than or equal to zero. The runtime must return XR_ERROR_VALIDATION_FAILURE if the fov angles are not between between -π/2 and π/2 exclusively.

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 (c) 2014-2021, The Khronos Group Inc.