PolygonModifier.GenerateUV

GenerateUV(Mesh, VertexElementNormal)

Generate UV data from the given input mesh and specified normal data.

public static VertexElementUV GenerateUV(Mesh mesh, VertexElementNormal normals)
ParameterTypeDescription
meshMeshThe input mesh
normalsVertexElementNormalThe normal data

Return Value

Generated UV data

See Also


GenerateUV(Mesh)

Generate UV data from the given input mesh

public static VertexElementUV GenerateUV(Mesh mesh)
ParameterTypeDescription
meshMeshThe input mesh

Return Value

Generated UV data

See Also