Script::SetView
function · uicamera · primitive
- Address
0x50b5b0· 71 bytes, up to0x50b5f6- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Lua function SetView
- Confidence
- inferred
- Name from
- the community database (idb)
- Finding
- uicamera/driver#setting-a-view
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 0
None by a direct call or jump.
Callees 5
- __ftol crt
- GetActiveCamera ui
- CCamera::SetView uicamera
- lua_isnumber lua
- lua_tonumber lua
Calls and jumps by a bare address, from tables/calls.tsv.