文档

Unity Engine

Unity Engine

SetInvertCulling(bool)

Add a "set invert culling" command to the buffer.
阅读时间1 分钟最后更新于 1 个月前

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).