@mitchallen/three-xr-kit
v1.0.14
Published
ThreeJS XR Kit --
Downloads
5
Readme
@mitchallen/three-xr-kit
ThreeJS XR Kit
Usage
Get from npm via jsdelivr
import {
XRKIT,
} from 'https://cdn.jsdelivr.net/npm/@mitchallen/[email protected]/dist/three-xr-kit.modern.js'
Example code
See the repo examples folder.
Live demos
To see live demos using this package, browse to:
- https://vrmitch.com
If you browse to this site in your VR headset you can click the Enter VR button.
This code has been tested on:
- Oculus Go
- Oculus Quest 2
Publishing
To publish your version of the package you must first setup an account and project in NPM.
This will boost the version number, push and publish:
git add .
git commit -m "updated code"
npm run pub:patch
As an alternative:
git add .
git commit -m "updated code"
npm version patch -m "Upgrade to %s for reasons"
References
- https://www.jsdelivr.com/