public static class MeshMapBakeThe bake, and the encoding that turns what it measured into files.
Remarks
⚠ This is the caller MapBaker.Bake did not have. Doc 48 § D12's seven measurements landed on BakedMaps and nothing outside Vixen.Geometry.Remeshing.Tests called the bake — not an importer, not a content build, not the editor — which is this repository's commonest defect wearing its usual disguise: a finished thing with no caller. Everything below exists to be that caller and to hand what comes back to IMeshMapBaker, which puts it in the project.
Encoding is separate from baking and both are here. Encode is a pure function of a BakedMaps, so every decision that can be wrong — which row is the top one, how a signed measurement survives eight bits, which import settings each usage needs — is provable against arrays a test wrote by hand, with no source mesh, no ray cast and no disk.
Fields and properties (1)
public static IReadOnlyList<MeshMapUsage> AlwaysThe maps every bake produces, whatever was asked for.
Methods (2)
public static IReadOnlyList<MeshMapImage> Run(EditMesh source, EditMesh target, BakeSettings settings)Bakes a mesh's maps and encodes them.
public static IReadOnlyList<MeshMapImage> Encode(BakedMaps maps)Turns what a bake measured into the files it becomes.
Used by (5)
- ContentTasksVixen.Editor.App
- MeshMapAssetTestsVixen.Editor.App.Tests
- MeshMapBakeSettingsVixen.Editor.App
- MeshMapBakesVixen.Editor.App.Tests
- MeshMapEncodingTestsVixen.Editor.Assets.Tests