A class containing all the info to describe a specific tile.
More...
|
int | X |
| The X position of the tile. More...
|
|
int | Y |
| The Y position of the tile. More...
|
|
int | TX |
| The X position of the source texture to render the tile from. More...
|
|
int | TY |
| The Y position of the source texture to render the tile from. More...
|
|
int | Width |
| The width of the tile. More...
|
|
int | Height |
| The height of the tile. More...
|
|
bool | FlipX |
| Flipped tile options. More...
|
|
bool | FlipY |
|
bool | FlipD |
| Flips the tile anti-diagonally, equivalent to a 90 degree rotation and a horizontal flip. Combined with FlipX and FlipY you can rotate the tile any direction. More...
|
|
Color | Color |
| The color of the tile, or the color to tint the texture. More...
|
|
A class containing all the info to describe a specific tile.
int Otter.TileInfo.GetIndex |
( |
Tilemap |
tilemap | ) |
|
Color Otter.TileInfo.Color |
The color of the tile, or the color to tint the texture.
bool Otter.TileInfo.FlipD |
Flips the tile anti-diagonally, equivalent to a 90 degree rotation and a horizontal flip. Combined with FlipX and FlipY you can rotate the tile any direction.
bool Otter.TileInfo.FlipX |
int Otter.TileInfo.Height |
The X position of the source texture to render the tile from.
The Y position of the source texture to render the tile from.
The X position of the tile.
The Y position of the tile.
float Otter.TileInfo.Alpha |
|
getset |
The documentation for this class was generated from the following file:
- Otter/Graphics/Drawables/Tilemap.cs