Fix scene lightmaps removal clearing actors linkage to lightmaps

This commit is contained in:
Wojtek Figat
2025-07-01 08:27:29 +02:00
parent 4e4d380267
commit 12c8bb4f31
3 changed files with 26 additions and 0 deletions

View File

@@ -139,6 +139,11 @@ public:
/// </summary>
API_FUNCTION() void RemoveAllInstances();
/// <summary>
/// Removes the lightmap data from the foliage instances.
/// </summary>
API_FUNCTION() void RemoveLightmap();
public:
/// <summary>
/// Gets the global density scale for all foliage instances. The default value is 1. Use values from range 0-1. Lower values decrease amount of foliage instances in-game. Use it to tweak game performance for slower devices.