VR

To enable VR in your game or 3D experience, you can simply pass in XR settings using the HologyScene component. The only setting you need is to set enabled to true.

function App() {
  return (
    <HologyScene 
      gameClass={Game} 
      sceneName='main' 
      dataDir='data' 
      shaders={shaders} actors={actors} 
      xr={{enabled: true}}>
    </HologyScene>
  );
}

Last updated