How do I dispose of LineSegments? After doing a scene.remove(lineseg), I try to perform a lineseg.dispose() but this causes an error.
You do not dispose any kind of Object3D
but materials, textures and geometries. Everything should be explained in this guide:
https://threejs.org/docs/index.html#manual/en/introduction/How-to-dispose-of-objects
1 Like