CCamera::SetView
function · uicamera · primitive
- Address
0x512e90· 1111 bytes, up to0x5132e6- 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
- Script::SetView uicamera
- CCamera::SetFovOverride uicamera
- CCamera::CycleView uicamera
- CCamera::NextView uicamera
- CCamera::PrevView uicamera
- CCamera::ResetView uicamera
Callees 12
- OsGetAsyncTimeMs core
- SysMsgPrintf sysmsg
- AngleWrap fastmath
- ClntObjMgrObjectPtr objectlayer
- CCamera::ArmTerrainTilt uicamera
- CCamera::ArmDistance uicamera
- CCamera::ArmPitch uicamera
- CCamera::ArmPivotBias uicamera
- CCamera::ArmYaw uicamera
- CGUnit_C::UpdateDisplayFacing objectlayer
- CVar::Set cvar
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.