Skip to content

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

@xeolabs

Description

@xeolabs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions