s_cameraViewChecks
global · uicamera
- Address
0x84f790· 12 bytes, up to0x84f79b- Type
void *[3]- Meaning
- Holds the check functions 0x50b310, 0x50b380 and 0x50b3c0 of the distance, pitch and yaw view CVars
- Confidence
- verified, proof one
- Finding
- uicamera/cvars#saved-view-cvars
Finding: Saved view CVars in uicamera: the camera CVars
Fifteen more CVars hold the five views. The name is camera, then Distance, Pitch or Yaw, then the
view's suffix: none for view 0 (first person), A to D for views 1 to 4. So cameraDistance is view 0 and
cameraPitchB the pitch of view 2. The default of each is the string of the view table in
uicamera/view#the-starting-view, and each distance accepts 0 to 50, each pitch plus or minus 89 degrees and each
yaw 0 to 360. The camera keeps the current value of each in its view slots, which its constructor fills once
(0x50fb80): 15 floats from +0xb0, view by view, each CVar's float value, pitch and yaw times π/180.
The derivation is in the doc.