MaterialEditor.ShaderProperty

function ShaderProperty (shader : Shader, propertyIndex : int) : void

Parameters

NameDescription
shader Shader that the material uses.
propertyIndex Index of the property to draw.

Description

Automatically draw a shader property from given index for the given shader.