Add additional methods for layers.

This commit is contained in:
Chandler Cox
2025-04-07 11:14:33 -05:00
parent 368ef9185b
commit e17b96b2d6
4 changed files with 100 additions and 2 deletions

View File

@@ -534,6 +534,13 @@ public:
/// </summary>
API_FUNCTION() static int32 GetLayerIndex(const StringView& layer);
/// <summary>
/// Gets the name of the layer based on the index.
/// </summary>
/// <param name="layerIndex">The index to find the layer string. 0 - 32.</param>
/// <returns>The layer string. Returns a blank string if index not found.</returns>
API_FUNCTION() static StringView GetLayerName(const int32 layerIndex);
private:
// Actor API
enum class ActorEventType