-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persisting the old enviornment and generating the old enviornment with the same html in the a-scene #51
Comments
sorry, I don't understand what you are doing exacly. Could you explain? |
I want to save the scene state and reload with the saved scene state |
how are you saving the scene? |
saving the entities and assets as the separate arrays what i did to make environment work
I know this is a hack there should be more simple and consistent way of doing it. |
|
Yeah i think all this is unnecesary complex. If you call to the document.querySelector('[environment]').components['environment'].dumpParametersDiff(); you will get the settings you need to recreate the same environment: document.querySelector('[environment]').setAttribute('environment', settings); I just realized that |
Yeah sure |
When i try to generate the old environment by saving it and injecting it in the a-scene environment is broken.
The text was updated successfully, but these errors were encountered: