LodBlock

Description

struct Tinman.Terrain.Codec.LodBlock

Represents a single LOD block.

Public / Methods

X


[Pure]
public method X → (1)

in : int32

Relative X-coordinate of block sample.

returns → int32

Absolute X-coordinate.

Returns the absolute X-coordinate of a sample in this block.

Y


[Pure]
public method Y → (1)

in : int32

Relative Y-coordinate of block sample.

returns → int32

Absolute Y-coordinate.

Returns the absolute Y-coordinate of a sample in this block.

Public / Attributes

BlockHeight


public readonly attribute BlockHeight → (int32)

Effective height of the LOD block (blocks at the boundary may be smaller than the block size).

BlockStep


public readonly attribute BlockStep → (int32)

Distance between adjacent LOD block samples.

BlockWidth


public readonly attribute BlockWidth → (int32)

Effective width of the LOD block (blocks at the boundary may be smaller than the block size).

BlockX


public readonly attribute BlockX → (int32)

Absolute X-offset of the top-left corner of the LOD block, in samples.

BlockY


public readonly attribute BlockY → (int32)

Absolute Y-offset of the top-left corner of the LOD block, in samples.