Vixen
dd8b0a81
csharp
public static class MeshMapBake

The bake, and the encoding that turns what it measured into files.

Read the guide page for this →

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> Always

    The maps every bake produces, whatever was asked for.

Methods (2)

Used by (5)

  • ContentTasksVixen.Editor.App
  • MeshMapAssetTestsVixen.Editor.App.Tests
  • MeshMapBakeSettingsVixen.Editor.App
  • MeshMapBakesVixen.Editor.App.Tests
  • MeshMapEncodingTestsVixen.Editor.Assets.Tests