setPolygonFillMode

fun setPolygonFillMode(polygonFillMode: PolygonFillMode)

Sets the fill mode for rendering polygons in the UnlitMaterial.

Parameters

polygonFillMode

The fill mode to use. Use PolygonFillMode.FILL to keep the default fill mode.

Throws

IllegalStateException

If this material is closed or invalid.