Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

DepthState.writeEnabled

public bool writeEnabled;

Description

Controls whether pixels from this object are written to the depth buffer.

Additional resources: ShaderLab commands: ZWrite.