BIS fnc clampVector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(created page)
 
m (infobox to template)
Line 24: Line 24:
Returns:
Returns:
ARRAY - Clamped vector
ARRAY - Clamped vector
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_clampVector]]|Syntax=
|[] call [[BIS_fnc_clampVector]]|Syntax=

Revision as of 15:27, 2 April 2019

Hover & click on the images for description

Description

Description:
/*
	Author:
	Nelson Duarte

	Description:
	Clamps vector between min / max

	Parameters:
	_this: ARRAY
		0: ARRAY - The vector to clamp
		1: SCALAR - Min value
		2: SCALAR - Max value

	Returns:
	ARRAY - Clamped vector
*/
Template:placeholder
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_clampVector
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note