public void SetGradient (int nameID, Gradient g);
public void SetGradient (string name, Gradient g);

Parámetros

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameEl nombre de una propiedad.
gThe new gradient value.

Descripción

The new gradient value.

Automatically changes overridden state for this property to true.