Change material to wireframe in imported PLY file [SOLVED]

Hi,
I’ve added a checkbox to enable wire-frame property of all the objects in the scene. But the imported PLY model material does not change. Could you please tell me what is the issue here?

See the Pen Change material with dat.gui by brabbit640 (@brabbit640) on CodePen.

Thank you very much

Hi!
You can put all the objects into an array and set their material’s wireframe parameter in a loop:

1 Like

Thank you so much. :slightly_smiling_face::+1::raised_hands:
Cheers :beers::beers:

You’re welcome :slight_smile: :beers: