Skip to content

mekanoe/node-openvr

 
 

Repository files navigation

OpenVR for Node.js

This fork is built around overlays; however, there is an ongoing goal to make this the defacto OpenVR for Node.js fork.

Installing

This package is not published to NPM, however will be closer to API completeness. Please use GitHub package imports for now.

yarn add kayteh/node-openvr

# OR

npm i kayteh/node-openvr

Using

See samples/ for working examples and tests used for developing this module.

Overlay

This repo has a helper class for overlays, however you may just use the overlay system directly. This requires passing the overlay handle around, so the class just abstracts over that for you.

const { math: { Vector3 } } = require('node-openvr')
const VROverlay = require('node-openvr/untyped/VROverlay')

Instead of using this helper class, you may also use thr C++ binding directly, see the following links.

About

OpenVR bindings to nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 50.5%
  • JavaScript 48.1%
  • Python 1.4%