Version: 2018.4
Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.SetGradient

マニュアルに切り替える
public void SetGradient (int nameID, Gradient g);
public void SetGradient (string name, Gradient g);

パラメーター

nameID Shader.PropertyToID によって検索されるプロパティーの nameID
nameプロパティーの名前
gThe new gradient value.

説明

Sets a named gradient value.

Automatically changes overridden state for this property to true.


Did you find this page useful? Please give it a rating: