ULodGlspComponent
API Reference · ALiSplatActor · Public Types
Overview
text
Module GaussianSplatting
Header LodGlspComponent.h
Include #include "LodGlspComponent.h"ULodGlspComponent renders one Chunk of a ULiSplatAsset and manages that Chunk's LOD loading and dynamic filtering. It is normally created and managed by ALiSplatActor.
Methods
- SetLodSplatAsset: sets the asset and Chunk index.
- GetLodSplatAsset: returns the current asset.
- GetSplatCount: returns the current resident Splat count.
- GetLatestLevel: returns the current LOD.
- GetLevelFittedNO: calculates LOD using the legacy distance rule.
- GetLevelFittedNormalizedDistance: calculates LOD using normalized distance.
- ChangeLevel: requests an LOD change for the current Chunk.
- SetLightMode: sets the component's lighting mode.
- SetReplaceTonemap: sets the tonemap replacement policy.
Additional Reference
C++ Usage
You normally do not create this component directly. To manage one Chunk manually:
cpp
#include "LodGlspComponent.h"
Chunk->bAutoManageLod = false;
Chunk->SetLodSplatAsset(SplatAsset, ChunkIndex);
Chunk->ChangeLevel(0);LOD0 is the finest level. Larger values select coarser levels.