Version: 2022.3

Material.GetPropertyNames

切换到手册
public string[] GetPropertyNames (MaterialPropertyType type);

参数

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

描述

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