benilla-re systems structs docs

CCamera::ResetView

function · uicamera · primitive

Address
0x50fae0 · 153 bytes, up to 0x50fb78
Signature
void __thiscall (CCamera *this, int view)
Meaning
Restores a view's slot from the default strings
Confidence
inferred
Finding
uicamera/driver#setting-a-view
Test
ui::glue_deg2rad_gated

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.