Comments (3)
Hi @mushkin-v,
It actually depends on which platform and if you have vr mode enabled or not.
On iOS Cardboard w/ vrModeEnabled={true}
in the ViroSceneNavigator
, there is an already provided button in the top left of the screen. If you have vrModeEnabled={false}
then yes, you'd have to add your own button that pops off the VR view. Depending on whether or not the rest of your application is written in React or natively in Objective C, you can either add a button in React Native that removes the ViroSceneNavigator
from the JSX or, in Objective C, you can add your own button to the VR ViewController and when the user taps on it, you dismiss the ViewController.
On Android Cardboard, this is also the case where if you're in VR mode, there's no programatic way to do it but if you're not in VR mode, then you can simply remove the view.
Let me know if that helps and what platform/configuration you're trying to do this for.
Thanks,
Andy
from viro.
Sorry for long response, thanks for your answer!
from viro.
Closing this issue due to lack of activity.
Feel free to reopen this issue, create another issue or contact us at [email protected].
Thanks!
from viro.
Related Issues (20)
- I want to use this in React-Native Web. is that possible ?
- Can I use viro use build app clip for iOS ? HOT 2
- extrusionDepth in ViroText renders wrong when it located inside of ViroFlexView
- Problem with Viro and RN 0.72 HOT 4
- How can I take Photo or record a video with reference to 3d model. HOT 3
- 3D model is half black HOT 1
- App crashes when navigating to ViroARSceneNavigator from StackNavigator. HOT 1
- React-native version HOT 8
- My texture of Viro3DObject doesn't work properly.
- Rigged 3D models disappearing in AR depending on camera angle (Skeletal animation)
- Move object along detected ground plane via camera center (without dragging/touch events)
- Background AR wide angle camera ?
- Get measure of items via ARKit
- Viro3DObject always moves with the phone, not fixed to one position HOT 1
- i can't access to viro document.
- How to render body tracking with ARkit and ARCore
- ViroVideo playing videos very slow after some seconds
- App crashes on using ViroVideo! HOT 4
- Invariant Violation: requireNativeComponent: "VRT3DObject" was not found in the UIManager in React Native 0.72.4 HOT 1
- ViroVideo sound doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viro.