Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyName(Shader, int)

Get the name of the shader propery at index propertyIdx of Shader s.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. Use Shader.GetPropertyName instead.
public static string GetPropertyName(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

string