SetSplatAsset
Assigns the Gaussian Splat asset used by the Actor.
cpp
void SetSplatAsset(ULiSplatAsset* InSplatAsset);| Parameter | Type | Description |
|---|---|---|
InSplatAsset | ULiSplatAsset* | 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

See Also
- GetLiSplatAsset: returns the asset assigned by this method.
- ULodGlspComponent::SetLodSplatAsset: use for direct per-Chunk asset assignment that bypasses the Actor.