https://github.com/drydart/openxr.dart
OpenXR bindings for Dart & Flutter.
https://github.com/drydart/openxr.dart
ar dart flutter mr openxr vr xr
Last synced: 4 months ago
JSON representation
OpenXR bindings for Dart & Flutter.
- Host: GitHub
- URL: https://github.com/drydart/openxr.dart
- Owner: drydart
- License: unlicense
- Created: 2020-05-11T11:53:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T14:44:13.000Z (almost 6 years ago)
- Last Synced: 2025-10-23T05:42:29.688Z (8 months ago)
- Topics: ar, dart, flutter, mr, openxr, vr, xr
- Language: Dart
- Homepage: https://pub.dev/packages/openxr
- Size: 27.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/contributing.md
- Funding: .github/funding.yml
- Codeowners: .github/codeowners
- Security: .github/security.md
Awesome Lists containing this project
README
OpenXR for Dart
===============
[](https://unlicense.org)
[](https://pub.dev/packages/openxr)
[](https://pub.dev/documentation/openxr/latest/)
[](https://travis-ci.org/drydart/openxr.dart)
**OpenXR.dart** implements Dart bindings for [OpenXR](https://www.khronos.org/openxr/)
[1.0](https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html),
the open standard and cross-platform API for virtual reality (VR) and
augmented reality (AR) hardware.
Installation
------------
dependencies:
openxr: ^0.0.5
Prerequisites
-------------
- [Dart](https://dart.dev) 2.8.1+
- [OpenXR SDK](https://github.com/KhronosGroup/OpenXR-SDK) 1.0.8+
Examples
--------
### Importing the library
import 'package:openxr/openxr.dart' as xr;
Development
-----------
We recommend Debian 11 (aka [Bullseye](https://www.debian.org/releases/bullseye/))
as a development environment. If you're on a Mac, you can run Debian in a
virtual machine using [VMware Fusion](https://www.vmware.com/products/fusion.html)
or [VirtualBox](https://www.virtualbox.org).
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](https://monado.freedesktop.org) project which supports many common
devices.
See Also
--------
- [OpenXR.rb](https://github.com/dryruby/openxr.rb):
OpenXR bindings for Ruby.
- [OpenXR.py](https://github.com/drypy/openxr.py):
OpenXR bindings for Python.
- [Unofficial OpenXR Tests](https://github.com/artob/openxr-rspec):
An unofficial OpenXR conformance test suite.