This version of Unity is unsupported.
Method group is Obsolete

MaterialType

enumeration

Obsolete Enum type MaterialType is not used any more.

Description

The type of the material used to render a terrain object. Could be one of the built-in types or custom.