기술 자료

Unity Engine

Unity Engine

Unwrapping

Utility class for computing mesh UVs.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static class Unwrapping

Remarks

This class allows you to compute UVs for procedurally generated meshes. Computing UVs is also called "unwrapping".
Additional Resources: Mesh class, Generating Lightmap UVs.

Static Methods

Method

Description

GeneratePerTriangleUVWill generate per-triangle uv (3 UVs for each triangle) with default settings.
GenerateSecondaryUVSetCompute a unique UV layout for a Mesh, and store it in Mesh.uv2.