Skip to content

ChangeLevel

ULodGlspComponent · API Reference

Requests an LOD change for the current Chunk.

cpp
bool ChangeLevel(int32 nNewLodLevel);
Parameter ValueDescription
0Finest level.
Greater than 0Larger values select coarser levels. Out-of-range values are clamped.
Less than 0Clears 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

Change Level Blueprint example

See Also


Back to ULodGlspComponent

LiSplat Unreal SDK 产品文档中心