Camera.setMaxPitchAngle() method

Set max pitch angle of the camera. Once reach the limit value, the camera's picth angle would not increase.

Signature:

setMaxPitchAngle(angle: number): void;

Parameters

ParameterDescription
angleThe maximum pictch angle.

Returns:

void