benilla-re systems structs docs

CharacterModelBaseChooseCamera

function · ui · orchestration

Address
0x505890 · 266 bytes, up to 0x505999
Signature
void __thiscall (void *this)
Meaning
Installs a frozen copy of camera 1, or a fixed camera aimed at the bounding box centre
Confidence
verified, proof one
Finding
ui/modelview#the-character-pane-camera

Finding: The character pane camera in ui: Model frames, camera and paint

A PlayerModel, DressUpModel or TabardModel replaces the camera when its model is ready (a TabardModel then moves the target, playermodel#tabard-camera-target). It tries raw camera 1; if the model has one, it installs a frozen copy of it, made after the frame's facing is set to 0 and one evaluation pass has run. Otherwise it builds a fixed camera: eye (5.5555558, 0, 2.4166667), target the model's bounding-box centre, field of view 0.5, near clip 0.027777778, and the default far clip 5000.0. Either way the frame ends with a camera and never takes the orthographic leg.

The derivation is in the doc.

Callers 1

Callees 11

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