Tiled Integration Plugin

Home / Tiles / Classes / UTITileMapTileInstance

UTITileMapTileInstance

Description

This is an instance of a UTITileMapTile stored in a Tile Map Instance that will get created when you add a Tile Map to a level and can be modified at runtime (for example, by adding/removing tiles)

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

GetTileSetTile

C++ ✅ Blueprint ✅

Gets the Tile Set Tile used by this Tile Instance.

Return

GetCustomProperties

C++ ✅ Blueprint ✅

Gets the Custom Properties of the Tile Instance, where you can access all the individual properties stored for the Tile Instance.

Return

HasCollision

C++ ✅ Blueprint ✅

Checks if the Tile Instance has collision set up on the Tile Set Tile.

Return

GetTileSet

C++ ✅ Blueprint ✅

Gets the Tile Set used by this Tile Instance.

Return

GetTileSetIndex

C++ ✅ Blueprint ✅

Gets the Tile Set Index used by this Tile Instance.

Return

GetGroupID

C++ ✅ Blueprint ✅

Gets the Group ID specified in the Tile Set Tile.

Return

GetGroup

C++ ✅ Blueprint ✅

Gets the Group of Tiles specified in the Tile Set Tile.

Return

GetTileMapComponent

C++ ✅ Blueprint ✅

Gets the Tile Map Component used by this Tile Instance.

Return

GetTileMapInstance

C++ ✅ Blueprint ✅

Gets the Tile Map Instance that contains this Tile Instance.

Return

GetLayerInstance

C++ ✅ Blueprint ✅

Gets the Tile Layer Instance that contains this Tile Instance.

Return

GetCoordinates

C++ ✅ Blueprint ✅

Gets the coordinates of this Tile Instance within the Tile Map.

Return

GetOpacity

C++ ✅ Blueprint ✅

Gets the opacity of this Tile Instance.

Return

SetOpacity

C++ ✅ Blueprint ✅

Gets the opacity of this Tile Instance.

Arguments

IsAnimated

C++ ✅ Blueprint ✅

Checks if the Tile Instance has animation set up on the Tile Set Tile.

Return

GetFlipbook

C++ ✅ Blueprint ✅

Gets the Tile Instance animation flipbook.

Return

IsInViewport

C++ ✅ Blueprint ✅

Checks if the Tile Instance is currently visible in the viewport.

Return

GetTilePosition

C++ ✅ Blueprint ✅

Gets the top left corner position of this Tile Instance.

Arguments

Return

GetElevation

C++ ✅ Blueprint ✅

Gets the elevation of the owning Tile Layer

Return

DebugDraw (Overrideable)

C++ ✅ Blueprint ✅

Draws debug lines around the Tile Instance.

Arguments

OnInstanced (Overrideable)

C++ ✅ Blueprint ✅

Called when the Tile Instance has been added to a level.

OnModified (Overrideable)

C++ ✅ Blueprint ✅

Called when the Tile Instance has been modified.

Arguments

OnPostLoad (Overrideable)

C++ ✅ Blueprint ✅

Called when the Tile Instance has been loaded.

OnTick (Overrideable)

C++ ✅ Blueprint ✅

Called when the Tile Instance ticks.

Arguments

ShouldGroupWithTile (Overrideable)

C++ ✅ Blueprint ✅

Called when making the Tile Groups

Arguments

Return