UInt32.Clamp(UInt32, UInt32, UInt32) 메서드

정의

값을 포괄 최소값 및 최대값으로 고정합니다.

public:
 static System::UInt32 Clamp(System::UInt32 value, System::UInt32 min, System::UInt32 max) = System::Numerics::INumber<System::UInt32>::Clamp;
public static uint Clamp (uint value, uint min, uint max);
static member Clamp : uint32 * uint32 * uint32 -> uint32
Public Shared Function Clamp (value As UInteger, min As UInteger, max As UInteger) As UInteger

매개 변수

value
UInt32

클램프할 값입니다.

min
UInt32

클램핑해야 하는 value 포괄 최소값입니다.

max
UInt32

클램핑해야 하는 value 포괄 최댓값입니다.

반환

max의 포괄 범위로 클램핑 valuemin 결과입니다.

구현

적용 대상