SetDriftCloudEdge
function · terrain · orchestration
- Address
0x68e680· 16 bytes, up to0x68e68f- Signature
void __thiscall (void *this, uint32_t value)- Meaning
- Stores the drift cloud's box edge at +0xfa1c
- Confidence
- verified, proof one
- Finding
- terrain/waterfx#drift-advect
Finding: Drift advect in terrain: water effects
0x68e930 moves the motes with the frame. With the cloud's enable byte +0xfa14 set, it takes
the camera's step since the last frame (+0xfa04: the previous position less the current), and
when its squared length exceeds the squared box edge +0xfa1c it scatters the cloud again in the
current mode and clears the step. It adds the gust displacement to the step, adds that to every
mote (+0xfa00 of them, 16 bytes each) and wraps each axis into [−edge/2, edge/2]: above the half
edge it subtracts the edge, below minus the half edge it adds it.
The derivation is in the doc.
Callers 1
- CreateDriftCloud terrain
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.