struct
PointCloudScannerComponent
A LiDAR scanner mounted on an entity. While it fires, the PointCloud module's scanner system turns it into shots from the entity's world position along its world forward, at scansPerSecond, and hands them to the scene's scan service: traced into this player's own cloud and, in a session, reported so every other player re-traces them into theirs. Gameplay drives firing (a trigger held); autoFire is for a turret or an authored demo that scans on its own.
- Module
- PointCloud
- Header
#include "PointCloud/PointCloudScannerComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
float | scansPerSecond | Default 10.0f. |
float | range | Default 60.0f. |
float | coneDegrees | Full cone angle; a shot takes half of it as its half-angle. Default 12.0f. |
uint32_t | raysPerShot | Default 512. |
float | densityFalloff | >1 concentrates rays toward the axis, 1 spreads them over the cap. Default 1.0f. |
uint32_t | rangeBand | 1 far (8 cm grid), 2 normal (4 cm), 3 precise (1.5 cm); 0 uses the cloud's own grid. Stamped on every point the scanner makes. Default 2. |
uint32_t | cloudMaxPoints | This machine's whole point budget, and the share of it other players' scans may fill. Read when the scene's scan service first attaches. Default 2000000. |
float | sharedShare | Default 0.2f. |
bool | autoFire | Default false. |
uint32_t | fillRays | The Fill: one sphere of rays that paints the room around the scanner, released outward as a wavefront at waveSpeed rather than in one frame. Default 12000. |
float | fillRange | Default 25.0f. |
float | waveSpeed | Default 18.0f. |
uint32_t | traceBackend | 0 auto = 3, the deterministic scan hierarchy over the level's render triangles: every client re-traces a replicated shot to the same points bit for bit. 1 the physics colliders (Jolt), 2 the Embree scan hierarchy (ScanHierarchy plugin) — faster, but neither is the same cloud on every machine. Default 0. |
bool | enabled | Default true. |
bool | firing | Default false. |
bool | fillRequested | Set to fire one Fill; the system clears it. Default false. |
uint32_t | activeBackend | The trace the scene's scan service ended up on: 0 not yet fired, 1 Jolt colliders, 2 the Embree scan hierarchy, 3 the deterministic one. Read-only in the details panel, so a designer can see which one ran. Default 0. |
float | scanAccumulator | Default 0.0f. |
uint64_t | scanCount | Default 0. |
Generated from PointCloud/PointCloudScannerComponent.h via pointcloud.json · Oct 26, 2026Version 1.0.0