Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MeshUtility.SetPerTriangleUV2

static function SetPerTriangleUV2(src: Mesh, triUV: Vector2[]): void;
static void SetPerTriangleUV2(Mesh src, Vector2[] triUV);
static def SetPerTriangleUV2(src as Mesh, triUV as Vector2[]) as void

Description

Will insert per-triangle uv2 in mesh and handle vertex splitting etc.