s_cameraFovMin
global · uicamera
- Address
0x8089bc· 4 bytes, up to0x8089bf- Type
const float- Meaning
- Holds 0.0, the lower clamp of the camera field of view
- Confidence
- verified, proof one
- Finding
- uicamera/transitions#field-of-view
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.