Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Particles/FXBudget.h |
Include |
#include "Particles/FXBudget.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Particles/FXBudget.cpp |
static FFXTimeData GetAdjustedUsage()
Returns the global FX time / budget ratio but adjusted in various ways better drive FX scaling. e.g. Usage goes up in line with the real usage but can fall only at a set rate. Useful to avoid FX flipping on/off if their cost is tipping the usage over the budget. Other adjustments may be made in future.