Cam::clampGameplayCamYaw: Difference between revisions
(yay) |
(yay) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
minimum: Degrees between -180f and 180f.<br>maximum: Degrees between -180f and 180f.<br><br>Clamps the gameplay camera's current yaw.<br><br>Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player.==Syntax==<syntaxhighlight lang="javascript">cam.clampGameplayCamYaw(minimum, maximum);</syntaxhighlight>=== Required Arguments ===*'''minimum:''' float*'''maximum:''' float===Return value===*'''unknown (to be checked)'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{ | minimum: Degrees between -180f and 180f.<br>maximum: Degrees between -180f and 180f.<br><br>Clamps the gameplay camera's current yaw.<br><br>Eg. _CLAMP_GAMEPLAY_CAM_YAW(0.0f, 0.0f) will set the horizontal angle directly behind the player. | ||
==Syntax== | |||
<syntaxhighlight lang="javascript">mp.game.cam.clampGameplayCamYaw(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}} | |||
[[Category:Clientside API]] | |||
[[Category:TODO: Example]] | |||
Latest revision as of 21:05, 6 May 2017
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