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
GetTileMapInstance
C++ ✅ Blueprint ❌
Gets the Tile Map Instance used by the Tile Map Actor.
Return
- UTileMapInstance: The Tile Map Instance used.
GetTileMapComponent
C++ ✅ Blueprint ❌
Gets the Tile Map Component used by the Tile Map Actor.
Return
- UTileMapComponent: The Tile Map Component used.
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.
- TileMapActorClass: The class to use for the Tile Map Actor. (Leave empty to use ATITileMapActor)
- TileMapInstanceClass: The class to use for the Tile Map Instance. (Leave empty to use UTITileMapInstance)
- TileLayerInstanceClass: The class to use for the Tile Layer Instance. (Leave empty to use UTITileLayerInstance)
- TileMapTileInstanceClass: The class to use for the Tile Map Tile Instance. (Leave empty to use UTITileMapTileInstance)
Return
- ATITileMapActor: The Tile Map Actor spawned.