Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.