class
FGaussianSplatCollisionSystem
Gives a Gaussian splat instance a static collider built from its splats, so a captured room can be walked in rather than only looked at. Runs before the physics step and only when the settings or the asset changed.
- Module
- Game
- Header
#include "Renderer/GaussianSplatCollisionSystem.h"- Namespace
Mowo
Hull: one convex hull around every splat at least half opaque — cheap, for props. Voxels: the cells of a grid the opaque splats occupy, merged into boxes along X, as one static compound — follows floors and walls.
Public functions
| Returns | Name | Description |
|---|---|---|
bool | DeclaresComponentAccess | |
ComponentMask | GetReadMask | |
ComponentMask | GetWriteMask | |
void | Update | |
void | BuildVoxelBoxes | Boxes (centre, half extents, interleaved) covering the occupied cells of cell-sized voxels, runs along X merged. |
bool | BuildCollider | Fills collider for mode (1 hull, 2 voxels); false when the cloud has nothing opaque enough to stand on. |
Function details
DeclaresComponentAccess
C++
bool DeclaresComponentAccess() const overrideGetReadMask
C++
ComponentMask GetReadMask() const overrideGetWriteMask
C++
ComponentMask GetWriteMask() const overrideUpdate
C++
void Update(float deltaTime) overrideBuildVoxelBoxes
C++
static void BuildVoxelBoxes(const FGaussianSplatCloud& cloud, float cell, std::vector<float>& outCentreHalf)Boxes (centre, half extents, interleaved) covering the occupied cells of cell-sized voxels, runs along X merged. Exposed for tests.
BuildCollider
C++
static bool BuildCollider(const FGaussianSplatCloud& cloud, uint32_t mode, float cell, ColliderComponent& collider)Fills collider for mode (1 hull, 2 voxels); false when the cloud has nothing opaque enough to stand on.
Generated from Renderer/GaussianSplatCollisionSystem.h via game.json · Nov 5, 2026Version 1.0.0