TKTerrainCorners Class Reference

Inherits from NSObject
Declared in TKTileset.h

Overview

Represents the terrain corners of a tile.

Working with Corners

  corners

An array of terrain corners. Use the enum TKTerrainCorner as indices.

@property (readonly, nonnull) TKTerrainCorner *corners

Declared In

TKTileset.h

  cornerCount

The number of corners in the array. Equals TKTerrainCorner_Count enum.

@property (readonly) NSUInteger cornerCount

Declared In

TKTileset.h

Probability

  probability

The probability in the range 0.0 (0%) to 1.0 (100%) that this terrain will be used.

@property float probability

Declared In

TKTileset.h