Vixen
02b45cc4
csharp
public sealed class FoliageSettings

The foliage panel's settings: the brush, the palette selection and the tool parameters.

Read the guide page for this →

Remarks

[docs/plan/31 § The palette] and § The foliage tools. The brush is TerrainBrushSettings's — [§ D12]'s one service — and what is here is what foliage adds to it.

Fields and properties (9)

  • public FoliageTool Tool

    Which tool a drag runs.

  • public float Density

    How much of each type's density a stroke places, 0…1.

  • public FoliageReapply Reapply

    Which of a type's settings a Reapply stroke re-rolls.

  • public bool OnTerrain

    Whether a stroke may land on the terrain.

  • public bool OnStaticMeshes

    Whether it may land on static meshes.

  • public bool OnBlockout

    Whether it may land on blockout meshes.

  • public bool OnFoliage

    Whether it may land on other foliage.

  • public bool IsReapplying

    Whether the Reapply rows apply.

  • public FoliageFilters Filters

    What a stroke will accept, as one value the probe can be asked with.

Used by (4)

  • Describes_Vixen_Editor_Terrain_FoliageSettingsVixen.Editor.Terrain
  • FoliageEditVixen.Editor.Terrain
  • FoliageModeVixen.Editor.Terrain
  • FoliageModeTestsVixen.Editor.Terrain.Tests