Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

How can a script find out which scene is currently loaded? #409

Open
semenov-dev opened this issue Sep 16, 2022 · 1 comment
Open

How can a script find out which scene is currently loaded? #409

semenov-dev opened this issue Sep 16, 2022 · 1 comment
Assignees

Comments

@semenov-dev
Copy link

How can a script find out which scene is currently loaded?
I want to save the panorama so that after the reboot I have the last panarama loaded.

Thanks!

@AlexisTercero55
Copy link

Due panolens.js is built on top of Threejs, you could use the default ID that every Threejs object has if you want a more customization level you can implement a group and edits its name property for identify that scene or model.

https://threejs.org/docs/#api/en/core/Object3D.name

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

3 participants