Перейти к содержанию

Cam::clampGameplayCamPitch

Материал из RAGE MP Wiki Archive
Версия от 21:05, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

minimum: Degrees between -90f and 90f.
maximum: Degrees between -90f and 90f.

Clamps the gameplay camera's current pitch.

Eg. _CLAMP_GAMEPLAY_CAM_PITCH(0.0f, 0.0f) will set the vertical angle directly behind the player.

Syntax

<syntaxhighlight lang="javascript">mp.game.cam.clampGameplayCamPitch(minimum, maximum);</syntaxhighlight>

Required Arguments

  • minimum: float
  • maximum: float

Return value

  • unknown (to be checked)

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also

Шаблон:Cam s function c