Home / Tile Worlds / Classes / ATITileWorldActor
ATITileWorldActor
Description
This is the actor that will be created when instancing a Tile World asset, which contains a group of Tile Map Components that takes care of rendering every Tile Map Instances.
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
GetTileWorld
C++ ✅ Blueprint ✅
Gets the Tile World asset used by this Tile World Actor.
Return
- UTITileWorld: The Tile World asset used by this Tile World Actor.
GetTileWorldInstance
C++ ✅ Blueprint ✅
Gets the Tile World Instance used by this Tile World Actor.
Return
- UTITileWorld: The Tile World Instance asset used by this Tile World Actor.
UsesTileWorld
C++ ✅ Blueprint ✅
Checks if the Tile World Instance uses the given Tile World asset.
Arguments
- TileWorld: The Tile World asset to check.
Return
- bool: True if the Tile World Instance uses the given Tile World asset.
UsesTileMap
C++ ✅ Blueprint ✅
Checks if the Tile World Instance uses the given Tile Map asset.
Arguments
- TileMap: Tile Map asset to check.
Return
- bool: True if the Tile World Instance uses the given Tile Map asset.
GetClasses
C++ ✅ Blueprint ✅
Gets the classes used to create the Tile World Actor and other dependencies.
Return
- FTITileClasses: The classes used to create the Tile World Actor and other dependencies.
OnInstanced (Overrideable)
C++ ✅ Blueprint ✅
Called when the Tile World Instance has been added to a level.
SpawnTileWorld
C++ ✅ Blueprint ✅
Spawns a Tile World Actor with the given parameters
Arguments
- WorldContextObject: The world context where the Tile Map Actor will spawn to.
- TileWorld: The Tile World 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 World Actor and other dependencies.
Return
- ATITileWorldActor: The Tile World Actor spawned.