CCamera::GetFov
function · uicamera · primitive
- Address
0x50d6d0· 70 bytes, up to0x50d715- Signature
float __thiscall (CCamera *this)- Meaning
- Returns the base field of view plus the bias, kept from 0 to 179 degrees
- Confidence
- verified, proof one
- Finding
- uicamera/transitions#field-of-view
- Test
ui::glue_50d6d0_pitch_clamp
Finding: Field of view in uicamera: transitions
The field of view is the base +0x40 plus the eased bias +0x10c, in radians, kept between 0 and 179 degrees; it is the camera's
vtable slot 0. The base is π/2 (90 degrees). SetFovOverride(degrees) with a nonzero value switches at once to view 0 (first
person) and sets the far-sight bit (mode bit 3) and the base to that angle; with 0 it clears the bit, restores π/2 and returns to view 1. With the
bit set the bias counts as 0.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.