ChangeLevel
ULodGlspComponent · API Reference
Requests an LOD change for the current Chunk.
cpp
bool ChangeLevel(int32 nNewLodLevel);| Parameter Value | Description |
|---|---|
0 | Finest level. |
Greater than 0 | Larger values select coarser levels. Out-of-range values are clamped. |
Less than 0 | Clears the current rendering data. |
Returns true when the request enters the processing pipeline, not when asynchronous loading has completed. Returns false when the asset is invalid, a task is already running, or no change is required.
C++ Example
cpp
Chunk->bAutoManageLod = false;
const bool bScheduled = Chunk->ChangeLevel(0);Blueprint Example

See Also
- GetLatestLevel: returns the currently recorded LOD.
- GetLevelFittedNormalizedDistance: calculates the LOD to pass based on distance.
- C++ Extension APIs: use
ChangeLevelWithViewto provide a view snapshot or disable dynamic filtering.