public sealed class TerrainToolSettingsWhat each sculpt tool does beyond what the brush already says.
Remarks
The parameters below the rule — [docs/plan/31 § The terrain panel]. The brush section is shared by every tool and this is what is appended under it for whichever one is held, which is both references' layout.
⚠ One object holding every tool's parameters, not one object per tool. An artist who sets the talus angle, goes to smooth a ridge and comes back expects the angle to still be there — so the settings outlive the tool selection, and [ShowIf] is what makes the panel show only the ones that apply. Per-tool objects would either lose the values or need a dictionary keyed by tool, which is the same thing spelled less clearly.
Fields and properties (38)
public TerrainCategory CategoryWhich half of the toolset a drag belongs to.
public TerrainTool ToolWhich sculpt tool a drag runs.
public TerrainPaintTool PaintToolWhich paint tool a drag runs, while the category is Paint.
public int TargetWhich paint layer the paint tools write, or −1 for none.
public float MetresHow far a stamp at full strength moves the ground, in metres.
public bool ClayWhether the tool accumulates against a plane rather than along the normal.
public int SmoothPassesHow many passes of the averaging kernel one stamp runs.
public float FlattenTargetThe height the tool pulls towards, in metres.
public bool PickTargetWhether the target is taken from the ground at the start of each stroke.
public float RampWidthHow far the ramp reaches either side of its line, in metres.
public float RampFalloffHow much of that half-width is falloff rather than flat, 0…1.
public float TalusThe steepest slope that holds, as a rise in metres over one quad.
public float ErosionRateHow much of the excess moves per pass, 0…1.
public int IterationsHow many passes one stamp runs.
public float HydroRateHow fast water moves material, 0…1.
public float AmplitudeHow far the noise moves the ground, in metres.
public int OctavesHow many layers of detail.
public float FrequencyHow many samples one period of the coarsest octave spans, inverted.
public float LacunarityHow much finer each octave is than the last.
public float GainHow much quieter each octave is than the last.
public bool RidgedWhether the noise is folded about zero, which makes ridges instead of hills.
public int SeedWhat the noise lattice derives from.
public float HoleThresholdHow much brush weight a sample needs before it becomes a hole, 0…1.
public int CoverageHow much weight a stamp at full strength adds, out of 255.
public float TargetCoverageWhat coverage the paint Flatten tool sets, 0…1.
public int CoverageNoiseHow far the paint Noise tool moves the weight, out of 255.
public bool IsPaintingWhether the drag is a paint stroke rather than a sculpt one.
public bool IsPaintFlattenWhether the paint Flatten rows apply.
public bool IsPaintNoiseWhether the paint Noise rows apply.
public bool IsSculptWhether the sculpt rows apply.
public bool IsSmoothWhether the smooth rows apply.
public bool IsFlattenWhether the flatten rows apply.
public bool IsRampWhether the ramp rows apply.
public bool IsErosionWhether the erosion rows apply.
public bool IsHydroWhether the hydro rows apply.
public bool IsNoiseWhether the noise rows apply.
public bool IsHolesWhether the hole rows apply.
public bool IsIterativeWhether the tool runs a settable number of passes per stamp.
Methods (2)
public TerrainNoise ToNoise()The noise the Noise tool adds, as the kernel takes it.
public int PassesOf(TerrainTool tool)How many passes of the held tool one stamp runs.
Used by (8)
- Describes_Vixen_Editor_Terrain_TerrainToolSettingsVixen.Editor.Terrain
- SculptSessionTestsVixen.Editor.Terrain.Tests
- TerrainEditVixen.Editor.Terrain
- TerrainEditTestsVixen.Editor.Terrain.Tests
- TerrainModeVixen.Editor.Terrain
- TerrainModeTestsVixen.Editor.Terrain.Tests
- TerrainPaintModeTestsVixen.Editor.Terrain.Tests
- TerrainPanelTestsVixen.Editor.Terrain.Tests