[This is preliminary documentation and is subject to change.]

Clamps the value to the allowed non-system (custom) priority range.

Namespace: org.critterai.nmbuild
Assembly: cai-nmbuild (in cai-nmbuild.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static int ClampPriority(
	int value
)
Public Shared Function ClampPriority ( _
	value As Integer _
) As Integer
public:
static int ClampPriority(
	int value
)

Parameters

value
Int32
The value to clamp.

Return Value

The clamped value. (MinPriority <= clampedValue <= MaxPriority

See Also