Skip to content

SetSplatAsset

ALiSplatActor · API Reference

Assigns the Gaussian Splat asset used by the Actor.

cpp
void SetSplatAsset(ULiSplatAsset* InSplatAsset);
ParameterTypeDescription
InSplatAssetULiSplatAsset*New asset. Pass nullptr to clear the current asset.

After the asset changes, the Actor refreshes metadata, initializes LOD settings, and rebuilds components to match the asset's Chunk count.

C++ Example

cpp
if (IsValid(SplatActor))
{
    SplatActor->SetSplatAsset(SplatAsset);
}

Blueprint Example

Set Splat Asset Blueprint example

See Also


Back to ALiSplatActor

LiSplat Unreal SDK 产品文档中心