Version: 2021.3
言語: 日本語
public void SetGradient (int nameID, Gradient g);
public void SetGradient (string name, Gradient g);

パラメーター

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name プロパティーの名前
g The new Gradient value.

説明

Sets the value of a named Gradient property.

Automatically changes overridden state for this property to true.