Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyDescription(Shader, int)

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

Definition

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

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

stringReturns the description of the given shader property.