Vixen
dd8b0a81
csharp
public record class RemeshSettings

What the output should be, and what it should keep.

Read the guide page for this →

Remarks

The authoring surface docs/plan/41 § D10 maps onto ZRemesher's, plus the four rows it has no equivalent for: attribute transfer, baking, coordinates, and a quality report.

⚠ Adaptivity, DensityMask and the tightening near features are one mechanism rather than three. docs/plan/41 § D9: they all write into a single per-vertex target edge length, consumed by the pre-remesh, the quantization and the extraction alike. Three separate multipliers applied at three different stages is how a remesher acquires settings that only work in certain combinations.

Fields and properties (17)

  • public int TargetQuads

    How many quads to aim for. Zero means take the target from TargetEdgeLength instead.

  • public float TargetEdgeLength

    The edge length to aim for, in world units. Zero means derive it from TargetQuads.

  • public float Adaptivity

    Zero for uniform squares, one to let curvature decide the density.

  • public float FeatureAngle

    The angle, in degrees, above which a shared edge is a hard feature.

  • public bool KeepCreases

    Whether explicit creases on the input are features.

  • public bool KeepGroups

    Whether face-group boundaries are features.

  • public bool KeepUvSeams

    Whether existing texture-coordinate seams are features.

  • public bool FreezeBorder

    Whether open boundaries are pinned where they are.

  • public IReadOnlyList<RemeshGuide> Guides

    Curves the edge flow should follow.

  • public IReadOnlyList<float> DensityMask

    A per-position density multiplier on the source, or empty for none.

  • public Plane? Symmetry

    The plane to mirror across, or null for no symmetry.

  • public ConditioningSettings Conditioning

    What conditioning may do first.

  • public bool TransferAttributes

    Whether the source's normals, coordinates, colours, materials and weights are carried across.

  • public TransferSettings Transfer

    What stage seven may carry, and what the target can hold.

  • public bool GenerateUvs

    Whether an atlas is generated from the patch layout.

  • public AtlasSettings Atlas

    Where the atlas comes out, when GenerateUvs asks for one.

  • public int FieldIterations

    How many iterations the cross-field solver runs at each level of its hierarchy.

Used by (39)

  • AllFeatureArcPatchTestsVixen.Geometry.Remeshing.Tests
  • AttributeTransferTestsVixen.Geometry.Remeshing.Tests
  • BudgetWarningTestsVixen.Geometry.Remeshing.Tests
  • CrossFieldSolverVixen.Geometry.Remeshing
  • CrossFieldTestsVixen.Geometry.Remeshing.Tests
  • DensityFieldVixen.Geometry.Remeshing
  • DensityFieldTestsVixen.Geometry.Remeshing.Tests
  • FacetedSurfaceTestsVixen.Geometry.Remeshing.Tests
  • FeatureCurvesVixen.Geometry.Remeshing
  • FeatureDetectionTestsVixen.Geometry.Remeshing.Tests
  • FeatureDetectorVixen.Geometry.Remeshing
  • FieldDeterminismTestsVixen.Geometry.Remeshing.Tests
  • FieldPropertyTestsVixen.Geometry.Remeshing.Tests
  • LayoutAtlasTestsVixen.Geometry.Remeshing.Tests
  • QuadQualityTestsVixen.Geometry.Remeshing.Tests
  • RemeshBytesTestsVixen.Geometry.Remeshing.Tests
  • RemeshDeterminismTestsVixen.Geometry.Remeshing.Tests
  • RemeshDumpVixen.Geometry.Remeshing
  • RemeshDumpTestsVixen.Geometry.Remeshing.Tests
  • RemeshPipelinePropertyTestsVixen.Geometry.Remeshing.Tests
  • RemeshReportTestsVixen.Geometry.Remeshing.Tests
  • RemesherVixen.Geometry.Remeshing
  • RemesherTestsVixen.Geometry.Remeshing.Tests
  • RemeshingLayeringTestsVixen.Geometry.Remeshing.Tests
  • SettingsHonouredTestsVixen.Geometry.Remeshing.Tests
  • SingularityPassVixen.Geometry.Remeshing
  • SingularityTestsVixen.Geometry.Remeshing.Tests
  • SymmetryPassVixen.Geometry.Remeshing
  • SymmetryTestsVixen.Geometry.Remeshing.Tests
  • SymmetryTransferTestsVixen.Geometry.Remeshing.Tests
  • BlockoutRemeshDebugVixen.Editor.Blockout
  • BlockoutRetopologyVixen.Editor.Blockout
  • BlockoutRetopologySettingsVixen.Editor.Blockout
  • BlockoutRetopologyTestsVixen.Editor.Blockout.Tests
  • BlockoutSettingsTestsVixen.Editor.Blockout.Tests
  • GeometryRunnerVixen.Cli
  • ModelImportSettingsVixen.Editor.Assets
  • ModelRetopologyTestsVixen.Editor.Assets.Tests
  • VixenCommandVixen.Cli