Created
December 23, 2021 14:35
-
-
Save Salem-Abderaouf/b71d3b60e34e55cceb91a9a05791ac56 to your computer and use it in GitHub Desktop.
Revisions
-
Salem-Abderaouf created this gist
Dec 23, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ <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>