Cam::clampGameplayCamYaw

From RAGE Multiplayer Wiki
Revision as of 21:05, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Clamps the gameplay camera's current yaw.

Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player.

Syntax

mp.game.cam.clampGameplayCamYaw(minimum, maximum);

Required Arguments

  • minimum: float
  • maximum: float

Return value

  • unknown (to be checked)

Example

// todo

See also

Template:Cam s function c