文档

Unity Engine

Unity Engine

GetPropertyNames(MaterialPropertyType)

Retrieves a list of the named properties in the material that match the input property type.
阅读时间1 分钟最后更新于 14 小时前

Definition

public string[] GetPropertyNames(MaterialPropertyType type)

Parameters

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

Returns

Type

Description

string[]