getDepthTest

fun getDepthTest(): Boolean

Gets the state of depth testing for the UnlitMaterial.

Return

true if depth testing is enabled; false otherwise.

Throws

IllegalStateException

If this material is closed or invalid.