class

FScanBvhScene

A static and a dynamic hierarchy traced as one, plus the shot loop with the scan-response table in it. This is the trace every client runs on a replicated shot.

Module
Game
Header
#include "PointCloud/ScanBvh.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
FScanBvh&Static
FScanBvh&Dynamic
const FScanBvh&Static
const FScanBvh&Dynamic
boolIntersect
uint32_tTraceAppends one FLidarHit per surviving ray, in ray-index order.
uint64_tHashHitsFNV-1a over every field of every hit, positions and normals by bit pattern.

Function details

Static

C++
FScanBvh& Static()

Dynamic

C++
FScanBvh& Dynamic()

Static

C++
const FScanBvh& Static() const

Dynamic

C++
const FScanBvh& Dynamic() const

Intersect

C++
bool Intersect(const Vec3& origin, const Vec3& direction, float tMin, float tMax, FScanBvhHit& out) const

Trace

C++
uint32_t Trace(const FLidarShot& shot, const FScanResponseTable* responses, std::vector<FLidarHit>& outHits, bool parallel = true) const

Appends one FLidarHit per surviving ray, in ray-index order. Rays run in parallel above 64 when parallel is set; the output does not depend on it.

HashHits

C++
static uint64_t HashHits(const FLidarHit* hits, size_t count)

FNV-1a over every field of every hit, positions and normals by bit pattern. Equal hashes on two machines mean two identical clouds.

Generated from PointCloud/ScanBvh.h via game.json · Nov 5, 2026Version 1.0.0