RotateCameraLocalX
Description
Rotates the specified camera around its local X axis, i.e. if the camera were an airplane this command would make it pitch up and down no matter which direction it was facing.
Definition
RotateCameraLocalX( cameraID, amount )
void agk::RotateCameraLocalX( uint32_t cameraID, float amount )
Parameters
- cameraID - The ID of the camera to modify, the main camera is ID 1.
- amount - The angle to rotate on the local X axis in degrees, positive looks down, negative looks up.