Documentation

Unity Engine

Download Unity

Unity Engine

GetPropertyName(int)

Returns the name of the shader property at the specified index.
Read time 1 minuteLast updated a day ago

Definition

public string GetPropertyName(int propertyIndex)

Parameters

propertyIndex

The index of the shader property.

Returns

Type

Description

string

Remarks

If Unity cannot find a property at the specified index, the function throws an
ArgumentOutOfRangeException
.