Home / Tiles / Classes / UTITileMapTile
UTITileMapTile
Description
This is a individual Tile stored in a Tile Map asset that was imported from Tiled and can only be modified from Tiled when importing or reimporting.
Extend Class
If you want to extend the class either via C++ or Blueprint, you can specify in the Plugin Settings what class the plugin should use, instead of the default one. Keep in mind that your class must be a child class from the original one you want to extend.
Note: Setting a new class override to be used by the plugin won’t be applied to previously imported assets, you will have to delete and import the already existing assets after the settings have been changed.
Functions
GetCustomProperties
C++ ✅ Blueprint ✅
Gets the Custom Properties of the Tile, where you can access all the individual properties stored for the Tile.
Return
- UTICustomProperties*: The Custom Properties of the Tile.
GetTileSet
C++ ✅ Blueprint ✅
Gets the Tile Set used by this Tile.
Return
- UTITileSet*: Tile Set used by this Tile.
GetTileSetIndex
C++ ✅ Blueprint ✅
Gets the Tile Set Index used by this Tile.
Return
- int32*: Tile Set Index used by this Tile.
GetGroupID
C++ ✅ Blueprint ✅
Gets the Group ID specified in the Tile Set Tile.
Return
- int32: Group ID specified in the Tile Set Tile.
GetTileSetTile
C++ ✅ Blueprint ✅
Gets the Tile Set Tile used by this Tile.
Return
- UTITileSetTile*: The Tile Set Tile used by this Tile.
GetLayer
C++ ✅ Blueprint ✅
Gets the Tile Layer that contains this Tile.
Return
- UTITileLayer*: The Tile Layer that contains this Tile.
GetTileMap
C++ ✅ Blueprint ✅
Gets the Tile Map that contains this Tile.
Return
- UTITileMap*: The Tile Map that contains this Tile.
GetCoordinates
C++ ✅ Blueprint ✅
Gets the coordinates of this Tile within the Tile Map.
Return
- FIntVector: The coordinates of this Tile.
GetElevation
C++ ✅ Blueprint ✅
Gets the elevation of the owning Tile Layer
Return
- int32: The elevation of the owning Tile Layer
OnCustomPropertiesLoaded (Overrideable)
C++ ✅ Blueprint ✅
Called when the Custom Properties have been loaded.
Arguments
- Properties: Custom Properties loaded.
OnImported (Overrideable)
C++ ✅ Blueprint ✅
Called when the Tile has been imported by the plugin.