[Question about how to clear box bound the mesh when import mesh to the scene]

Hi everyone, i am creating feature to import mesh to the canvas and use ArcRotateCamera to present the model. But when i import the mesh into my scene. My scene always have a box surround my mesh. I wonder how to clear that transperent box
This is my CreateScene and CreateMesh function

And this is my mesh when imported success

Thanks for reading my question!

Simply call ‘createDefaultEnvironment’ after loading the mesh so the scene will know the correct extend of your world:)

To remove the cube use:


Another solution is to scale down your model so it would be inside the default skybox, if you need skybox at all.