Documentation

Unity Engine

Unity Engine

SetMesh(Mesh)

Sets the Mesh used by this renderer. Note the Mesh must be read/write enabled.
Read time 1 minuteLast updated 21 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetMesh(Mesh mesh)

Parameters

mesh

The mesh to use for rendering.