Material.Wireframe

bool Wireframe{ get set }

Description

Should this material draw only the edges/wires of the mesh? This can be useful for debugging, and even some kinds of visualization work. Note that this may not work on some mobile OpenGL systems like Quest.

Examples

Here’s creating a simple wireframe material!

matWireframe = Material.Default.Copy();
matWireframe.Wireframe = true;

Which looks like this: Wireframe material example




Found an issue with these docs, or have some additional questions? Create an Issue on Github!