This class holds everything you may need in regard to uv-unwrapping.

Exemplo n.º 1
0
        public static Vector2[] GeneratePerTriangleUV(Mesh src)
        {
            UnwrapParam settings = default(UnwrapParam);

            UnwrapParam.SetDefaults(out settings);
            return(Unwrapping.GeneratePerTriangleUV(src, settings));
        }
Exemplo n.º 2
0
 public static void GenerateSecondaryUVSet(Mesh src, UnwrapParam settings)
 {
     MeshUtility.SetPerTriangleUV2(src, Unwrapping.GeneratePerTriangleUV(src, settings));
 }
Exemplo n.º 3
0
 internal static Vector2[] GeneratePerTriangleUVImpl(Mesh src, UnwrapParam settings)
 {
     return(Unwrapping.INTERNAL_CALL_GeneratePerTriangleUVImpl(src, ref settings));
 }
Exemplo n.º 4
0
 public static Vector2[] GeneratePerTriangleUV(Mesh src, UnwrapParam settings)
 {
     return(Unwrapping.GeneratePerTriangleUVImpl(src, settings));
 }