IPyramid

Description

interface Tinman.Terrain.Pyramids.IPyramid<TData in ref>

Derived from

IPyramidBase

Extended by

IPixelPyramid
ITexelPyramid
Pyramid abstract

Generic base interface for classes that represent a pyramid of tile data.

Public / Methods

Get​Tile​Data

2 overloads


[ThreadSafe]
public method GetTileData1 → (4)

coords in : PyramidCoords

The pyramid tile coords.

data in : TData

[not-null]
The output buffer to use.

dataX opt : int32 = 0

[>=0]
X-coordinate of top-left corner of output rectangle.

dataY opt : int32 = 0

[>=0]
Y-coordinate of top-left corner of output rectangle.

returns → TileDataResult

The result code.

Returns the data content of the given map tile.


[ThreadSafe]
public method GetTileData2 → (7)

face in : CubemapFace

Cubemap face of map tile. Set to CubemapFace.NegZ for unprojected map pyramids.

level in : int32

[>=0]
The pyramid level.

in : int32

Cubemap face X-coordinate of map tile in level.

in : int32

Cubemap face Y-coordinate of map tile in level.

data in : TData

[not-null]
The output buffer to use.

dataX opt : int32 = 0

[>=0]
X-coordinate of top-left corner of output rectangle.

dataY opt : int32 = 0

[>=0]
Y-coordinate of top-left corner of output rectangle.

returns → TileDataResult

The result code.

Returns the image pixels of the given map tile.