public enum MeshMapUsageWhat one baked mesh map measures, which is how a generator finds it.
Remarks
docs/plan/48 § 4.8: a Mesh Map Input binds by usage. That is what makes one generator compound work on every mesh — a Curvature Edge Wear graph asks for Curvature and gets whichever file this project's bake produced, without naming it. So the usage is the identity of a mesh map and the file name is a convenience, which is the same bargain the asset database makes between a GUID and a path.
One member per row of § D12's table, plus the two the bake has always returned. It is deliberately not Vixen.Geometry.Remeshing.MeshMaps: that is a flags enum saying which measurements to spend rays on, and a usage is a single value naming one file. Folding them together would make "bake AO and thickness" and "this file is the AO map" the same type, and the second one has to be one value or a look-up by it is meaningless.
Fields and properties (9)
NormalThe tangent- or object-space normal map. Always baked.
DisplacementThe signed displacement along the target's normal. Always baked.
AmbientOcclusionThe unoccluded fraction of the hemisphere.
BentNormalThe average unoccluded direction.
CurvatureMean curvature: positive on an edge, negative in a crease.
ThicknessHow enclosed the inside is.
PositionThe surface point, normalised into the source's bounding box.
WorldNormalThe source's own normal, unrotated.
IdThe source's face group as a distinct colour.
Used by (19)
- MeshMapAssetVixen.Editor.Assets
- MeshMapAssetTestsVixen.Editor.App.Tests
- MeshMapBakeVixen.Editor.Assets
- MeshMapBakePanelTestsVixen.Editor.App.Tests
- MeshMapBakeSettingsVixen.Editor.App
- MeshMapBakeViewVixen.Editor.App
- MeshMapBindingVixen.Editor.Assets
- MeshMapCommandTestsVixen.Cli.Tests
- MeshMapEncodingTestsVixen.Editor.Assets.Tests
- MeshMapGeneratorBindingTestsVixen.Editor.App.Tests
- MeshMapImageVixen.Editor.Assets
- MeshMapLibraryVixen.Editor.Assets
- MeshMapLibraryTestsVixen.Editor.App.Tests
- MeshMapNamingVixen.Editor.Assets
- MeshMapReferenceVixen.Editor.Assets
- MeshMapRunnerVixen.Cli
- MeshMapSetVixen.Editor.Assets
- ProjectMeshMapBakerVixen.Editor.App
- RecordingBakerVixen.Editor.App.Tests