Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetMesh(Mesh)

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

Definition

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

Parameters

mesh