Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetWireframe(bool)

Add a "set wireframe" command to the buffer.
Read time 1 minuteLast updated 6 days ago

Definition

public void SetWireframe(bool enable)

Parameters

enable

A boolean indicating whether to enable wireframe mode.

Remarks

When enabled the scene will be rendered in wireframe mode (see GL.wireframe). This is not supported on some platforms (f.e. OpenGL ES).