CorrectionLayer

Description

sealed class Tinman.Engine.Scenes.CorrectionLayer

Derived from

Disposable abstract

A scene component that allows to define vector shapes that perform corrections on the terrain.

Public / Methods

Add


public method Add → (1)

shape in : HeightmapShape

[not-null]
The vector shape.

Adds a vector shape.

Prepare


[ThreadSafe]
public method Prepare → (1)

shape in : HeightmapShape

[not-null]
The vector shape to prepare.

returns → HeightmapShape

The prepared vector shape, that can be passed to Add without additional computation overhead.

Prepares the given vector shape for addition to this shape layer.

Remove


public method Remove → (1)

shape in : HeightmapShape

[not-null]
The vector shape to remove.

Removes a vector shape.