Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

GraphicsStateCollection.GraphicsState.forceCullMode

public Rendering.CullMode forceCullMode;

Description

The forced cull mode in this rendering configuration.

Setting the ShadowCastingMode.TwoSided flag or using certain built-in effects can result in the cull mode being explicitly forced.