benilla-re systems structs docs

CWorld::SetDetailDistance

function · terrain · orchestration

Address
0x6726c0 · 55 bytes, up to 0x6726f6
Signature
uint32_t __stdcall (float value)
Meaning
Stores the texture detail distance when it lies from 80 to 777
Confidence
verified, proof one
Finding
terrain/world#distance-settings

Finding: Distance settings in terrain: world

Four registered settings bound the world's distances. farclip, nearclip and horizonfarclip refuse a value outside the range with a message; textureLodDist writes its message, runs at 80.0 instead and keeps the set, its record holding the typed value. farclip (default 350) takes 177 to 777 and sets the world far clip. horizonfarclip (2112) takes the far clip plus 528 up to 2112 and sets the far plane of the low-detail projection. nearclip (0.1) takes 0.01 to 0.33 and textureLodDist (777.0) takes 80 to 777; their world copies are never read. The camera takes its near and far planes from the nearclip and farclip records, not from the world copies. lodDist is in lod.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.