class
FLevelRandom
A deterministic 32-bit PCG stream. Its own, not FRandomStream: the level a seed produces is pinned by golden hashes across builds, so the generator's randomness must never change when something else's does.
- Module
- LevelGen
- Header
#include "LevelGen/LevelGenerator.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
explicit FLevelRandom(uint64_t seed) | FLevelRandom |
Public functions
Function details
FLevelRandom
C++
explicit FLevelRandom(uint64_t seed)Next
C++
uint32_t Next()Below
C++
uint32_t Below(uint32_t bound)Uniform in [0, bound); bound 0 returns 0.
Generated from LevelGen/LevelGenerator.h via levelgen.json · Oct 26, 2026Version 1.0.0