public bool writeEnabled ;

Description

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