benilla-re systems structs docs

CCamera::SetView

function · uicamera · primitive

Address
0x512e90 · 1111 bytes, up to 0x5132e6
Signature
void __thiscall (CCamera *this, int view, int blendStyle)
Meaning
Makes a saved view current and copies it to the targets
Confidence
inferred
Finding
uicamera/driver#setting-a-view
Test
ui::glue_512_512e90_pitch_and_guards

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 6

Callees 12

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