benilla-re systems structs docs

CCamera::StopAxis

function · uicamera · primitive

Address
0x50fd90 · 56 bytes, up to 0x50fdc7
Signature
void __thiscall (CCamera *this, uint32_t axis, uint32_t end)
Meaning
Marks an active keyboard axis to stop at a time
Confidence
verified, proof one
Finding
uicamera/driver#the-keyboard-axes

Finding: The keyboard axes in uicamera: the follow camera

Six axes move the camera: 0 zoom in, 1 zoom out, 2 turn right, 3 turn left, 4 look up and 5 look down. The Lua commands MoveViewInStart and MoveViewInStop, then Out, Right, Left, Up and Down, start and stop them. An active axis changes its target by a CVar speed times the elapsed milliseconds. Distance moves cameraDistanceMoveSpeed yards a second and stays between 0 and the maximum distance. Yaw moves cameraYawMoveSpeed degrees a second and wraps into 0 to 2π. Pitch moves cameraPitchMoveSpeed times 0.25 degrees a second, so 90 is 22.5 degrees a second, and is clamped to plus or minus 89 degrees.

The derivation is in the doc.

Callers 4

Callees 0

None by a direct call or jump.

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