Version: 2019.4
public void SetMesh (int nameID, Mesh m);
public void SetMesh (string name, Mesh m);

パラメーター

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

説明

The new mesh value.

Automatically changes overridden state for this property to true.