Vixen
02b45cc4
csharp
public sealed class TerrainHoleCommand

One hole stroke as one entry in the undo history.

Read the guide page for this →

Remarks

⚠ The collider is rebuilt for a hole stroke even though no height moved. A hole removes the quads that reference it from the collision shape as well as from the index buffer — [§ The sculpt tools] — so a cave mouth that was punched and not re-collided is a hole the player can see through and still stands on.

Fields and properties (2)

  • public string Name

    What this is called in the undo history, as a person would say it.

  • public TerrainRect Rect

    Which samples the stroke touched.

Methods (3)

Used by (2)

  • TerrainEditVixen.Editor.Terrain
  • TerrainEditTestsVixen.Editor.Terrain.Tests