You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matthew Scott edited this page Nov 21, 2026
·
1 revision
Library API
usingUVBake.Core;usingUVBake.IO;Meshmesh=MeshIo.Read("model.obj");// .obj or .fbxUvMeshresult=UVBaker.Generate(mesh,newUVBakeOptions{Resolution=2048,GutterPixels=8});// Hard gates: overlap = 0, no flipped triangles, full coverage.if(result.Validation.IsValid){MeshIo.Write(result.Mesh,"model.uv.obj");// .obj, .fbx or .gltf}
UVBaker.Generate also has an overload taking IProgress<string> (per-phase progress) and a
CancellationToken. Output is deterministic for fixed options.