This version of Unity is unsupported.
Method group is Obsolete

MaterialType

enumeration

Obsolete

Description

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