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

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.
mThe new mesh value.

Description

The new mesh value.

Automatically changes overridden state for this property to true.