Skip to content

SetLodSplatAsset

ULodGlspComponent · API Reference

Sets the asset and Chunk index used by the component.

cpp
void SetLodSplatAsset(
    ULiSplatAsset* NewAsset,
    int32 nNewChunkIndex = 0);
ParameterTypeDescription
NewAssetULiSplatAsset*New asset; may be nullptr.
nNewChunkIndexint32Chunk 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

Set Lod Splat Asset Blueprint example

See Also


Back to ULodGlspComponent

LiSplat Unreal SDK 产品文档中心