Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyNames(MaterialPropertyType)

Retrieves a list of the named properties in the material that match the input property type.
Read time 1 minuteLast updated 4 days ago

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[]