Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

mesh.triangles

Discussion in 'Scripting' started by klindeman, Jun 19, 2006.

  1. klindeman

    klindeman

    Joined:
    Jun 13, 2005
    Posts:
    295
    I am having difficulty understanding exactly what I should be doing when I set mesh.triangles. Any hints on this?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    you give it an array of indices into your vertex buffer.