SimpleModelInstallCamera
function · ui · orchestration
- Address
0x76ce80· 60 bytes, up to0x76cebb- Signature
void __thiscall (void *this, CCamera *camera)- Meaning
- Replaces the frame's camera with a referenced one and sets the pending index to -1
- Confidence
- verified, proof one
- Finding
- ui/modelview#choosing-the-camera
Finding: Choosing the camera in ui: Model frames, camera and paint
A model frame draws only when its pending camera index is −1. The constructor leaves 0, and when the
model is ready the frame applies it: it looks up raw camera number idx of the model, ignoring the
file's camera lookup table, and installs it. An index at or past the camera count installs no camera,
so the paint takes the orthographic leg. Installing any camera, including none, sets the index to −1.
SetCamera(n) truncates n and does the same; a negative n is past the count. With no model, or one
whose data is not resident, the call only stores the index.
The derivation is in the doc.
Callers 2
Callees 2
- HandleClose base
- AddHandleRef base
Calls and jumps by a bare address, from tables/calls.tsv.