Rotorz Tile System Icon
Rotorz Tile System for Unity
API Reference
Available on the Unity Asset Store
TOC

ITilesetMetrics Interface

Metrics of a tileset.
public interface ITilesetMetrics
public interface ITilesetMetrics

Properties

BorderSize
Gets size of tile border in pixels.
BorderU
Gets size of tile border on U-axis in UV space.
BorderV
Gets size of tile border on V-axis in UV space.
Columns
Gets number of columns of tiles in atlas texture.
Delta
Gets delta value.
DeltaU
Gets delta for U-axis.
DeltaV
Gets delta for V-axis.
OriginalAtlasHeight
Gets height of original texture asset.
OriginalAtlasWidth
Gets width of original texture asset.
Rows
Gets number of rows of tiles in atlas texture.
TileHeight
Gets height of tile in pixels.
TileHeightUV
Gets height of tile in UV space.
TileIncrementU
Gets offset to next tile on U-axis of UV coordinates.
TileIncrementV
Gets offset to next tile on V-axis of UV coordinates.
TileIncrementX
Gets offset in pixels to next tile on X-axis of atlas texture.
TileIncrementY
Gets offset in pixels to next tile on Y-axis of atlas texture.
TileWidth
Gets width of tile in pixels.
TileWidthUV
Gets width of tile in UV space.

See Also

Reference