benilla-re systems structs docs

CCamera::StoreView

function · uicamera · primitive

Address
0x50f990 · 149 bytes, up to 0x50fa24
Signature
void __thiscall (CCamera *this, int view, float distance, float pitch, float yaw)
Meaning
Stores a view in its slot and writes its CVars in degrees
Confidence
inferred
Finding
uicamera/driver#setting-a-view
Test
ui::glue_50f990_rad2deg

Finding: Setting a view in uicamera: the follow camera

SetView(n) for n from 1 to 5, NextView() and PrevView() switch to a saved view with the blend style in cameraViewBlendStyle: it prints the view's name, makes the view current in cameraView, copies the live distance, pitch and yaw to the targets and clears every transition. SaveView(n) stores the target distance, pitch and yaw in the view's slot and its CVars (pitch and yaw in degrees); ResetView(n) restores the slot from the default strings. PrevView stops at the first view and NextView at the last.

The derivation is in the doc.

Callers 1

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.