getDepthWrite

fun getDepthWrite(): Boolean

Gets the state of depth writing for the UnlitMaterial.

Return

true if depth writing is enabled; false otherwise.