Version: 2020.2
言語: 日本語
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.

説明

The new gradient value.

Automatically changes overridden state for this property to true.