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

파라미터

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.
gThe new gradient value.

설명

The new gradient value.

Automatically changes overridden state for this property to true.