Navigation
API > API/Plugins > API/Plugins/SignificanceManager
Manages how to allocate a budget of levels to an ordered list of items (e.g., how to distribute minimum LOD levels to the N closest characters)
| Name | FOrderedBudget |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/SignificanceManager/Source/SignificanceManager/Public/OrderedBudget.h |
| Include Path | #include "OrderedBudget.h" |
Syntax
struct FOrderedBudget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FOrderedBudget() |
OrderedBudget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BudgetString | FString | My budget string. | OrderedBudget.h | |
| BudgetValues | TArray< int32 > | This is the budget value for the i-th closest character (e.g., there will be be 10 entries if the budgets ranges sum to cover 10) | OrderedBudget.h | |
| BudgetValuesScale | float | The scalar to apply to the budget values, it does so by compressing the index used when requesting the budget. | OrderedBudget.h | |
| ValueForOutOfBounds | int32 | This is the budget value for things with an index further away than BudgetByIndex.Num() | OrderedBudget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetBudgetForIndex
(
int32 Index |
Returns the budget number for the Index-th closest character. | OrderedBudget.h | |
int32 GetBudgetLength() |
Returns the number of items specified in the budget. | OrderedBudget.h | |
bool RecreateBudget
(
const FString& Specification |
Recreates the budget given a specification string. | OrderedBudget.h | |
void SetBudgetScale
(
float InScale |
OrderedBudget.h |