benilla-re systems structs docs

CCamera::BeginGroundPitchTransition

function · uicamera · primitive

Address
0x5125e0 · 194 bytes, up to 0x5126a1
Signature
bool __thiscall (CCamera *this, float target, float duration, uint32_t start)
Meaning
Wraps the live ground pitch and stores its transition
Confidence
verified, proof one
Finding
uicamera/transitions#arming-a-transition
Test
ui::cam_5125e0

Finding: Arming a transition in uicamera: transitions

An angle setter (target, delay, factor, now) begins at now + delay * 1000 milliseconds and lasts factor times the angle to cover divided by the speed CVar in radians a second. The angle runs from the live value, wrapped to within π of the target, to the target. Nothing is armed within 0.001 of the target or on a repeat of the armed target, delay and factor. Yaw 0x512c70 (inner 0x512dc0), pitch 0x512830 (0x512980), pivot bias 0x512a50 (0x512ba0), ground pitch 0x512490 (0x5125e0) and field of view 0x512270 (0x5123c0) follow this. Distance 0x512120 (inner 0x512200) and height 0x5126b0 (inner 0x512790) do not wrap. A zero factor gives a duration of 0, and the value arrives at the next frame.

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.