class

FLidarPattern

The deterministic ray pattern, and the single definition of it. LidarTrace.comp.hlsl mirrors these four functions instruction for instruction; the GPU trace and the CPU trace must agree or a client re-tracing a replicated shot draws a different cloud than the shooter did.

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

Public functions

ReturnsNameDescription
uint32_tHash
floatUnitFloat
voidBasisDeterministic orthonormal basis around dir — a pure function of the direction, so two machines given the same shot build the same frame.
Vec3Direction

Function details

Hash

C++
static uint32_t Hash(uint32_t x)

UnitFloat

C++
static float UnitFloat(uint32_t bits)

Basis

C++
static void Basis(const Vec3& dir, Vec3& outTangent, Vec3& outBitangent)

Deterministic orthonormal basis around dir — a pure function of the direction, so two machines given the same shot build the same frame.

Direction

C++
static Vec3 Direction(const FLidarShot& shot, uint32_t rayIndex)
Generated from PointCloud/LidarTrace.h via game.json · Nov 5, 2026Version 1.0.0