This version of Unity is unsupported.

Material.GetPropertyNames

Switch to Manual

Declaration

public string[] GetPropertyNames(MaterialPropertyType type);

Parameters

type The type to use to query the material for named properties.

Description

Retrieves a list of the named properties in the material that match the input property type.