Documentation

Unity Engine

Unity Engine

writeEnabled

Controls whether pixels from this object are written to the depth buffer.
Read time 1 minuteLast updated 2 months ago

Definition

public bool writeEnabled { get; set; }

Remarks

Additional Resources: ShaderLab commands: ZWrite.