interface Tinman.Terrain.Heightmaps.ICopySamplesOp

Derived from


Extended by

CopySamplesOp abstract

Base interface for custom operations that may be performed on heightmap samples during a copy operation.

Public / Methods


public method ModifyCopySamples → (2)

region in : CubemapFaceRect

The cubemap face region that corresponds to buffer in, including the padding samples (see Pad).

buffer in : HeightmapRegion

The heightmap region that holds the samples that have been read from the source heightmap. This method may perform in-place modifications. After returning, the (modified) contents of buffer in is written to the target heightmap.

Modifies the given heightmap samples.

Public / Attributes


public attribute Pad → (get)

value : int32

The padding samples.

The amount of required padding samples.