Vixen
02b45cc4
csharp
public enum TerrainCategory

Which half of the terrain toolset a drag belongs to.

Read the guide page for this →

Remarks

Sculpt and Paint, inside one mode — [docs/plan/31 § Two modes, not three, and not one]. Both require a terrain and both act on its texels, so they are one mode; what differs is whether a stamp writes a height or a weight. Unreal spells the same split as tabs within Landscape mode and it is right.

⚠ Foliage is not here and will not be. It paints onto any surface — a terrain, a blockout mesh, an imported cliff — so its filter set is the feature rather than an accident, and folding it in would mean answering "what is the target surface" twice with different answers.

Fields and properties (2)

  • Sculpt

    The heights: the seven sculpt tools plus holes.

  • Paint

    The layer weights: the four paint tools, over the selected target layer.

Used by (6)

  • SculptSessionTestsVixen.Editor.Terrain.Tests
  • TerrainEditVixen.Editor.Terrain
  • TerrainModeVixen.Editor.Terrain
  • TerrainModeTestsVixen.Editor.Terrain.Tests
  • TerrainPaintModeTestsVixen.Editor.Terrain.Tests
  • TerrainToolSettingsVixen.Editor.Terrain