openxr 0.0.4 openxr: ^0.0.4 copied to clipboard
OpenXR.dart implements Dart bindings for OpenXR 1.0, the open standard and cross-platform API for virtual reality (VR) and augmented reality (AR) hardware.
OpenXR for Dart #
OpenXR.dart implements Dart bindings for OpenXR 1.0, the open standard and cross-platform API for virtual reality (VR) and augmented reality (AR) hardware.
Installation #
dependencies:
openxr: ^0.0.4
Prerequisites #
-
Dart 2.8.1+
-
OpenXR SDK 1.0.8+
Examples #
Importing the library #
import 'package:openxr/openxr.dart' as xr;
Development #
We recommend Debian 11 (aka Bullseye) as a development environment. If you're on a Mac, you can run Debian in a virtual machine using VMware Fusion or VirtualBox.
Install the Debian packages for the OpenXR SDK's loader as follows:
$ apt install libopenxr-loader1
That's the only required package, but find related packages of interest using:
$ apt search openxr
In addition, you will need an OpenXR runtime for your hardware. In the absence of suitable vendor-supplied runtimes, have a look at the open-source Monado project which supports many common devices.
See Also #
-
OpenXR.rb: OpenXR bindings for Ruby.
-
OpenXR.py: OpenXR bindings for Python.
-
Unofficial OpenXR Tests: An unofficial OpenXR conformance test suite.