Created
December 23, 2021 14:35
-
-
Save Salem-Abderaouf/b71d3b60e34e55cceb91a9a05791ac56 to your computer and use it in GitHub Desktop.
Create AR app with viro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ViroPortalScene passable={true}> | |
| <ViroPortal | |
| position={[0,0,-1]} | |
| scale={[0.1,0.1,0.1]} | |
| > | |
| { | |
| // ViroPortal to Create window or door | |
| } | |
| <Viro3DObject | |
| source={your_source} | |
| type="VRX" | |
| /> | |
| </ViroPortal> | |
| { | |
| // Viro360Image to create indoor scene | |
| } | |
| <Viro360Image | |
| source={your_source} | |
| /> | |
| </ViroPortalScene> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment