activateCamWithInterpAndFovCurve
_ACTIVATE_CAM_WITH_INTERP_AND_FOV_CURVE0x34CFC4C2A38E83E3The GTA V native _ACTIVATE_CAM_WITH_INTERP_AND_FOV_CURVE of the CAM namespace, as LS:MP client scripts call it: the global function activateCamWithInterpAndFovCurve, in JavaScript and in Lua.
activateCamWithInterpAndFovCurve(
camTo: Cam,
camFrom: Cam,
duration: number,
easeLocation: number,
easeRotation: number,
easeFov: number
): voidactivateCamWithInterpAndFovCurve(
camTo: Cam,
camFrom: Cam,
duration: integer,
easeLocation: integer,
easeRotation: integer,
easeFov: integer
)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
activateCamWithInterpAndFovCurve(camTo, camFrom, duration, easeLocation, easeRotation, easeFov);Lua
activateCamWithInterpAndFovCurve(camTo, camFrom, duration, easeLocation, easeRotation, easeFov)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
camTo | Cam | number | integer |
camFrom | Cam | number | integer |
duration | int | number | integer |
easeLocation | int | number | integer |
easeRotation | int | number | integer |
easeFov | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void _ACTIVATE_CAM_WITH_INTERP_AND_FOV_CURVE(Cam camTo, Cam camFrom, int duration, int easeLocation, int easeRotation, int easeFov)- Hash
0x34CFC4C2A38E83E3- Introduced
- Game build 3258 legacy numbering