public record class BakeSettingsWhat to bake, at what size, and how far to look for the source.
Remarks
⚠ SearchRadius is a fraction of the source's bounding-box diagonal and never a distance. A ray cage measured in metres is a claim about how big a model is, and it is the same claim ScaleSafe exists to stop this library making — a bake tuned on a character silently finds nothing on the same character exported in centimetres.
Fields and properties (7)
public required int ResolutionThe atlas's edge length in texels. Required, because a gutter is counted in them.
public int GutterHow many texels of dilation surround each chart.
public BakeSpace SpaceWhich frame the normals come back in.
public float SearchRadiusHow far a ray looks for the source, as a fraction of its bounding-box diagonal.
public MeshMaps MapsWhich of the mesh maps to measure beyond the normal and the displacement.
public int OcclusionSamplesHow many rays the hemisphere is estimated with, per texel.
public float OcclusionRadiusHow far an occlusion ray reaches, as a fraction of the source's diagonal.
Used by (12)
- BakeBuffersVixen.Geometry.Remeshing
- MapBakerVixen.Geometry.Remeshing
- MapBakerTestsVixen.Geometry.Remeshing.Tests
- MeshMapTestsVixen.Geometry.Remeshing.Tests
- ContentTasksVixen.Editor.App
- MeshMapAssetTestsVixen.Editor.App.Tests
- MeshMapBakeVixen.Editor.Assets
- MeshMapBakePanelTestsVixen.Editor.App.Tests
- MeshMapBakeSettingsVixen.Editor.App
- MeshMapBakesVixen.Editor.App.Tests
- MeshMapGeneratorBindingTestsVixen.Editor.App.Tests
- MeshMapLibraryTestsVixen.Editor.App.Tests