ALiSplatActor
API Reference · ULodGlspComponent · Public Types
Overview
text
Module GaussianSplatting
Header LiSplatActor.h
Include #include "LiSplatActor.h"ALiSplatActor is the Gaussian Splat Actor placed in a scene. After a ULiSplatAsset is assigned, it creates and manages one ULodGlspComponent for each Chunk in the asset.
Methods
Asset
- SetSplatAsset: assigns or clears the asset.
- GetLiSplatAsset: returns the current asset.
- GetChunkComponentCount: returns the number of Chunk components.
- GetTotalSplatCount: returns the total number of Splats in the asset.
LOD
- SetScreenPixelFilterSizeMode: selects the screen-size source used by dynamic filtering.
- AdjustScreenPixelQuality: changes LOD quality by a fixed step.
Rendering and Lighting
- SetLightMode / GetLightMode
- SetOpacityScale
- SetSplatScale
- SetRenderFeatureSettings / GetRenderFeatureSettings
- SetNormalProxySettings / GetNormalProxySettings
- SetShadowProxySettings / GetShadowProxySettings
- SetPrimitiveLightingSettings / GetPrimitiveLightingSettings
- SetLiSplatLightingChannels
Editor Actions
- Stat: displays performance statistics.
- LocateDataToScene: frames the data in the viewport.
Additional Reference
C++ Usage
- Add
GaussianSplattingto your project'sBuild.cs. - Include the header and assign an asset:
cpp
#include "LiSplatActor.h"
SplatActor->SetSplatAsset(SplatAsset);
SplatActor->SetLightMode(ELightMode::Lit);See API Reference for module setup.