Version: 2019.4
public void SetFloat (int nameID, float f);
public void SetFloat (string name, float f);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameプロパティーの名前
fThe new float value.

説明

The new float value.

Automatically changes overridden state for this property to true.