Version: 2019.4
public void SetInt (int nameID, int i);
public void SetInt (string name, int i);

パラメーター

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

説明

The new integer value.

Automatically changes overridden state for this property to true.