XRPose

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The XRPose is a WebXR API interface that represents position and orientation in a 3D space relative to an XRSpace.

To obtain XRPose, call XRFrame.getPose() with appropriate arguments.

XRViewerPose also extends this interface.

Attributes

XRPose.transform Read only  
A XRRigidTransform represents the position and orientation relative to the base XRSpace.
XRPose.emulatedPosition Read only  
A Boolean which is false if XRPose.transform represents 6DOF tracked with hardware and true if it is emulated in software.

Example

FIXME: Add example

Specifications

Specification Status Comment
WebXR Device API
The definition of 'XRPose' in that specification.
Working Draft Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.XRPose" (depth: 1) to the MDN compatibility data repository.

See also

Document Tags and Contributors

Contributors to this page: bershanskiy
Last updated by: bershanskiy,