PolygonModifier.GenerateUV

GenerateUV(Mesh, VertexElementNormal)

从给定的输入 mesh 和指定的 Normal 数据生成 UV 数据。

public static VertexElementUV GenerateUV(Mesh mesh, VertexElementNormal normals)
参数类型描述
网格网格输入网格
法线VertexElementNormal法线数据

返回值

生成的 UV 数据

另请参见


GenerateUV(Mesh)

从给定的输入 mesh 生成 UV 数据

public static VertexElementUV GenerateUV(Mesh mesh)
参数类型描述
网格网格输入网格

返回值

生成的 UV 数据

另请参见