setCullingMode

Sets the MaterialCullingMode of the ShaderGraphMaterial.

Parameters

cullingMode

Throws

IllegalStateException

If this material is closed or invalid.