Crate webxr_api

source Β·
Expand description

This crate defines the Rust API for WebXR. It is implemented by the webxr crate.

Modules§

Structs§

Enums§

  • The coordinate space of a secondary capture view
  • The coordinate space of the back frustrum of a cubemap
  • The coordinate space of the bottom frustrum of a cubemap
  • The coordinate space of the left frustrum of a cubemap
  • The coordinate space of the right frustrum of a cubemap
  • The coordinate space of the top frustrum of a cubemap
  • The normalized device coordinate space, where the display is from (-1,-1) to (1,1).
  • https://immersive-web.github.io/hit-test/#enumdef-xrhittesttrackabletype
  • https://immersive-web.github.io/webxr-ar-module/#xrenvironmentblendmode-enum
  • Errors that can be produced by XR.
  • Convenience structure for buffering up events when no event callback has been set
  • The coordinate space of the floor https://immersive-web.github.io/webxr/#dom-xrreferencespacetype-local-floor
  • The coordinate space of an input device
  • https://immersive-web.github.io/layers/#enumdef-xrlayerlayout
  • The coordinate space of the left eye https://immersive-web.github.io/webxr/#dom-xreye-left
  • The native 3D coordinate space of the device This is not part of the webvr specification.
  • The coordinate space of the right eye https://immersive-web.github.io/webxr/#dom-xreye-right
  • https://www.w3.org/TR/webxr/#xrsessionmode-enum
  • The coordinate space of the viewer https://immersive-web.github.io/webxr/#dom-xrreferencespacetype-viewer
  • The unnormalized device coordinate space, where the display is from (0,0) to (w,h), measured in pixels.
  • Whether a device is mono or stereo, and the views it supports.

Constants§

Traits§

Functions§