Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetInvertCulling(bool)

Add a "set invert culling" command to the buffer.
Read time 1 minuteLast updated 4 days ago

Definition

public void SetInvertCulling(bool invertCulling)

Parameters

invertCulling

A boolean indicating whether to invert the backface culling (true) or not (false).

Remarks

When the command buffer is executed, the backface culling is either inverted (when invertCulling is set to true) or not (when invertCulling is set to false) (see GL.invertCulling).