Method | Description | |
---|---|---|
GetCoordinatesForTile ( Vector2 coords, float leftTextureCoordinate, float topTextureCoordinate ) : void | ||
GetTextureCoordinateVectorsOfTextureIndex ( int textureId ) : Vector2[] | ||
GetTextureCoordinateVectorsOfTextureIndex ( int textureId, Vector2 coords ) : void | ||
GetTextureIndexFromCoordinate ( Vector2 topLeftUVCoordinate ) : short | ||
Tileset ( Microsoft.Xna.Framework.Graphics.Texture2D tilesetTexture, int tileDimensionWidth, int tileDimensionHeight ) : System | ||
Tileset ( string pTilesetFilename, int pTileDimensionWidth, int pTileDimensionHeight ) : System |
public GetCoordinatesForTile ( Vector2 coords, float leftTextureCoordinate, float topTextureCoordinate ) : void | ||
coords | Vector2 | |
leftTextureCoordinate | float | |
topTextureCoordinate | float | |
return | void |
public GetTextureCoordinateVectorsOfTextureIndex ( int textureId ) : Vector2[] | ||
textureId | int | |
return | Vector2[] |
public GetTextureCoordinateVectorsOfTextureIndex ( int textureId, Vector2 coords ) : void | ||
textureId | int | |
coords | Vector2 | |
return | void |
public GetTextureIndexFromCoordinate ( Vector2 topLeftUVCoordinate ) : short | ||
topLeftUVCoordinate | Vector2 | |
return | short |
public Tileset ( Microsoft.Xna.Framework.Graphics.Texture2D tilesetTexture, int tileDimensionWidth, int tileDimensionHeight ) : System | ||
tilesetTexture | Microsoft.Xna.Framework.Graphics.Texture2D | |
tileDimensionWidth | int | |
tileDimensionHeight | int | |
return | System |
public Tileset ( string pTilesetFilename, int pTileDimensionWidth, int pTileDimensionHeight ) : System | ||
pTilesetFilename | string | |
pTileDimensionWidth | int | |
pTileDimensionHeight | int | |
return | System |