文档

Unity Engine

Unity Engine

GetPropertyNames(MaterialPropertyType)

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

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public string[] GetPropertyNames(MaterialPropertyType type)

Parameters

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

Returns

Type

Description

string[]