How to use the react-vr.asset function in react-vr

To help you get started, we’ve selected a few react-vr examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github facebook / react-360 / Examples / Controller / index.vr.js View on Github external
render() {
    const controllers = this.state.controllers === null
      ? 
      : ;
    return (
      
    );
  }
}
github eh3rrera / reactvr_musical / index.vr.js View on Github external
constructor(props) {
    super(props);
	
    this.config = [
      {sound: asset('sounds/bird.wav'), playerState: new MediaPlayerState({})},
      {sound: asset('sounds/bird2.wav'), playerState: new MediaPlayerState({})},
      {sound: asset('sounds/bird3.wav'), playerState: new MediaPlayerState({})},
      {sound: asset('sounds/cat.wav'), playerState: new MediaPlayerState({})},
      {sound: asset('sounds/cricket.wav'), playerState: new MediaPlayerState({})},
      {sound: asset('sounds/dog.wav'), playerState: new MediaPlayerState({})},
    ];
  }

react-vr

A framework for building VR applications with React

BSD-3-Clause
Latest version published 7 years ago

Package Health Score

56 / 100
Full package analysis

Similar packages