benilla-re systems structs docs

s_textCamera

global · uicamera

Address
0x84fdc0 · 7 bytes, up to 0x84fdc6
Type
char[7]
Meaning
Holds the string "camera", the prefix of the camera view CVar names
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.