Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.SetMesh

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

Parameters

nameID通过 Shader.PropertyToID 检索的属性的名称 ID。
name属性的名称。
mThe new mesh value.

Description

Sets a named mesh value.

Automatically changes overridden state for this property to true.