How do I close a wireframe?

Could you tell me how to operate it? thank you

I used generateWireframe and now I want to turn off the wireframe effect。

Hi @Geekln ,

I think you can do so at any point by setting the render style back to normal:

for (var i = 0; i < model.meshInstances.length; i++) {
    model.meshInstances[i].renderStyle = pc.RENDERSTYLE_SOLID;
}
1 Like

thank you