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.

Unwrapping.GeneratePerTriangleUV

static function GeneratePerTriangleUV(src: Mesh): Vector2[];
static Vector2[] GeneratePerTriangleUV(Mesh src);
static def GeneratePerTriangleUV(src as Mesh) as Vector2[]

Description

Will generate per-triangle uv (3 uv pairs for each triangle) with default settings.

You'll need to merge them yourself.

static function GeneratePerTriangleUV(src: Mesh, settings: UnwrapParam): Vector2[];
static Vector2[] GeneratePerTriangleUV(Mesh src, UnwrapParam settings);
static def GeneratePerTriangleUV(src as Mesh, settings as UnwrapParam) as Vector2[]

Description

Will generate per-triangle uv (3 uv pairs for each triangle) with provided settings.

You'll need to merge them yourself.