struct
FPointCloudSector
A world sector — one chunk. Chunking by sector is what makes the cloud cullable, streamable, evictable and serializable in pieces, and it is what a record's position is relative to — every one of those wants the same unit, so there is only one.
- Module
- SceneTypes
- Header
#include "SceneTypes/Components/PointCloudComponent.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
int32_t | x | Default 0. |
int32_t | y | Default 0. |
int32_t | z | Default 0. |
static constexpr int32_t | kMaxCoordinate | Past this a coordinate no longer fits its 21-bit key field. Default (1 << 20) - 1. |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | operator== | |
uint64_t | Key | Each field masked to its 21 bits: unmasked, a negative coordinate's sign extension ran into the fields above it and (0,-1,0) shared a key with (0,-1,2) — harmless while points were stored in world space, fatal once a record is decoded against the corner of the chunk it landed in. |
bool | IsAddressable | |
Vec3 | Origin | |
Vec3 | Center | |
bool | IsAddressable | Finite and inside the keyable world, so FromPosition's float-to-int conversion is defined and the key cannot alias. |
FPointCloudSector | FromPosition |
Function details
operator==
C++
bool operator==(const FPointCloudSector& other) constKey
C++
uint64_t Key() constEach field masked to its 21 bits: unmasked, a negative coordinate's sign extension ran into the fields above it and (0,-1,0) shared a key with (0,-1,2) — harmless while points were stored in world space, fatal once a record is decoded against the corner of the chunk it landed in.
IsAddressable
C++
bool IsAddressable() constOrigin
C++
Vec3 Origin() constCenter
C++
Vec3 Center() constIsAddressable
C++
static bool IsAddressable(const Vec3& position)Finite and inside the keyable world, so FromPosition's float-to-int conversion is defined and the key cannot alias.
FromPosition
C++
static FPointCloudSector FromPosition(const Vec3& position)Generated from SceneTypes/Components/PointCloudComponent.h via scenetypes.json · Nov 4, 2026Version 1.0.0