getDepthWrite

fun getDepthWrite(): Boolean

Gets the state of depth writing for the material.

Return

true if depth writing is enabled, false otherwise.