Manual     Reference     Scripting  
  
Scripting > Editor Classes > Unwrapping   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Unwrapping
  • All Members
  • Class Functions
  • GeneratePerTriangleUV
  • GenerateSecondaryUVSet

Unwrapping.GeneratePerTriangleUV  

static function GeneratePerTriangleUV (src : Mesh) : 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[]

Description

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

You'll need to merge them yourself