CCamera::ViewSmoothingAllowed
function · uicamera · primitive
- Address
0x50fc30· 43 bytes, up to0x50fc5a- Signature
bool __thiscall (CCamera *this, int view)- Meaning
- Returns whether customised smoothing is on or the view is uncustomised
- Confidence
- verified, proof one
- Finding
- uicamera/follow#gates
Finding: Gates in uicamera: following and the auto-return
Four tests stand between an edge and an armed channel. The view must be uncustomised, or cameraCustomViewSmoothing set, and the camera's mode
bit 5 clear: the view is uncustomised while its saved distance, pitch and yaw match the default strings within 0.001. Yaw smoothing
needs cameraSmoothYaw set and the target not in mouselook. Pitch smoothing needs cameraSmoothPitch set, which is off by
default, the target not in mouselook and not swimming. Distance smoothing never applies.
The derivation is in the doc.
Callers 1
- AutoReturnAllowed uicamera
Callees 1
- CCamera::ViewIsUncustomised uicamera
Calls and jumps by a bare address, from tables/calls.tsv.