struct
GaussianSplatComponent
A captured Gaussian splat scene (.gsplat, imported from a trained .ply or a .splat file) placed in the level. Drawn into the HDR scene colour with the rest of the world, sorted back to front on the GPU, one LOD level chosen per frame from the camera distance.
- Module
- SceneTypes
- Header
#include "SceneTypes/Components/GaussianSplatComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::string | splatPath | |
float | opacity | Default 1.0f. |
uint32_t | lighting | 0 = Captured: the colour is the radiance the capture saw, shown at the brightness it was captured at whatever the scene exposure. 1 = Lit: the colour is albedo, lit by the scene's sun and sky ambient with each splat's flattest axis as its normal (no shadows received). Default 0. |
float | intensity | Default 1.0f. |
float | lodPixelError | How far a coarser LOD level's merge cell may project, in pixels, before a finer level is drawn instead. Default 1.5f. |
uint32_t | maxSplats | Default 1u << 20. |
bool | depthTest | Default true. |
uint32_t | collision | 0 = none, 1 = one convex hull around the opaque splats, 2 = boxes over the occupied cells of a voxel grid (static, walkable). Default 0. |
float | collisionCell | Default 0.5f. |
std::shared_ptr<const void> | cloud | The loaded cloud (an FGaussianSplatCloud), type-erased: SceneTypes sits below the asset system. Shared, so a scene copy draws the same buffers. |
std::string | loadedPath | |
uint32_t | drawnLevel | Default 0. |
uint32_t | drawnSplats | Default 0. |
uint32_t | collisionBuiltFor | Default 0. |
Generated from SceneTypes/Components/GaussianSplatComponent.h via scenetypes.json · Nov 4, 2026Version 1.0.0