You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (viewer.splatMesh && viewer.splatMesh.scenes.length > 0) {
await viewer.removeSplatScenes([0]);
}
Using dispose() would not work well as I could not perform raycasting when loading a new scene over an old scene. With this, I can both delete the old scene and perform raycasting with the new scene.
Hello,
Currently, when I am trying to load a new scene while a scene has already been rendered, it doesn't remove the old scene but rather combines them.
Is there a function provided to clear the old scene in order to render a new scene? Thanks!
The text was updated successfully, but these errors were encountered: