Version: 2019.4
public void SetVector4 (int nameID, Vector4 v);
public void SetVector4 (string name, Vector4 v);

パラメーター

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

説明

Use this method to set the value of a Vector4 with the name you pass in.