Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Can we add popup window to screenspace instead of world space? #836

Open
kunalluthade opened this issue Oct 1, 2020 · 1 comment
Open

Comments

@kunalluthade
Copy link

Description

I want to create an react-360 app which has a button.
On clicking the button a popup comes up.

ScreenShot

As you can see the above attached SS shows the popup in world space. Is there any way to create it in screen space?

Thanks in advance

@AkashNan
Copy link

AkashNan commented Oct 7, 2020

Any comments on this one? Once we init react 360 from index.html and our components load. Is it possible that if we set a component to a surface be in screen space rather than world space so that if we attach component to surface, 360 environment we set using
r360.compositor.setBackground(r360.getAssetURL("./img/360/360.jpeg"));
or
Environment.setBackgroundImage(asset(./img/360/${locations[${location}].img})

will freeze and until we close the surface component popup, user can not move 360 degree?

This is the question is about?

Kindly provide your thoughts on this if it is feasible or not? I did not find this in the documentation.

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants