SetLodSplatAsset
ULodGlspComponent · API Reference
Sets the asset and Chunk index used by the component.
cpp
void SetLodSplatAsset(
ULiSplatAsset* NewAsset,
int32 nNewChunkIndex = 0);| Parameter | Type | Description |
|---|---|---|
NewAsset | ULiSplatAsset* | New asset; may be nullptr. |
nNewChunkIndex | int32 | Chunk index in the asset. Negative values are treated as 0. |
When the asset or index changes, the component resets previous LOD state and refreshes its bounds.
C++ Example
cpp
Chunk->SetLodSplatAsset(SplatAsset, 0);Blueprint Example

See Also
- GetLodSplatAsset: returns the asset set on the component.
- ALiSplatActor::SetSplatAsset: recommended for normal scenes; lets the Actor configure every Chunk.