Skip to content

apoeco/react-vr-walk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-vr-walk

Walk around your ReactVr app with WASD!

Example:

import React from 'react';
import {
  AppRegistry,
  Text,
  View,
} from 'react-vr';
import Walk from 'react-vr-walk'

class App extends React.Component {
  render() {
    return(
      <Walk panoSource={asset('chess-world.jpg')}
            speed={1}>
        <View style={{flex: 1, flexDirection: 'row'}}>
          <Text>Hey!</Text>
        </View>
      </Walk>
    )
  }
}
AppRegistry.registerComponent('App', () => App);

About

Walk around your ReactVr app with WASD!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published