Home / Tile Maps / Classes / ATITileMapActor
ATITileMapActor
Description
This is the actor that will be created when instancing a Tile Map asset, which contains a Tile Map Component that takes care of rendering the Tile Map Instance.
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
GetTileMapComponent
C++ ✅ Blueprint ❌
Gets the Tile Map Component used by the Tile Map Actor.
Return
- UTileMapComponent: The Tile Map Component used.
GetTileMapInstance
C++ ✅ Blueprint ❌
Gets the Tile Map Instance used by the Tile Map Actor.
Return
- UTileMapInstance: The Tile Map Instance used.
UsesTileMap
C++ ✅ Blueprint ✅
Checks if the Tile Map Actor uses the given Tile Map asset.
Arguments
- TileMap: Tile Map asset to check.
Return
- bool: True if the Tile Map Actor uses the given Tile Map asset.
GetClasses
C++ ✅ Blueprint ✅
Gets the classes used to create the Tile Map Actor and other dependencies.
Return
- FTITileClasses: The classes used to create the Tile Map Actor and other dependencies.
OnInstanced (Overrideable)
C++ ✅ Blueprint ✅
Called when the Tile Map Actor has been added to a level.
SpawnTileMap
C++ ✅ Blueprint ✅
Spawns a Tile Map Actor with the given parameters
Arguments
- WorldContextObject: The world context where the Tile Map Actor will spawn to.
- TileMap: The Tile Map to spawn.
- Position: The position of the spawned Tile Map Actor.
- Rotation: The rotation of the spawned Tile Map Actor.
- Classes: The classes to use for creating the Tile Map Actor and other dependencies.
Return
- ATITileMapActor: The Tile Map Actor spawned.