Skip to content
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

[FEATURE] Allow to destroy SceneModel but retain it's ViewObjects in the Viewer #38

Open
xeolabs opened this issue Jul 23, 2024 · 0 comments

Comments

@xeolabs
Copy link
Member

xeolabs commented Jul 23, 2024

Have option to make SceneModel transient.

Currently, when we create a SceneModel in the Scene, the Viewer will automatically create ViewObjects to represent the SceneModel's SceneObjects. When we then destroy the SceneModel, the Viewer will automatically destroy the ViewObjects.

Add an option to retain the ViewObjects when we destroy a SceneModel. This way, the SceneModel has the option to be used as a transient container of content to load into a Viewer. This would be useful when we want to be efficient with memory usage in the JavaScript process.

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

No branches or pull requests

1 participant