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
Parameter | Description |
---|
angle | The maximum pictch angle. |
Returns:
void