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

정의

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

public:
 static System::UInt16 Clamp(System::UInt16 value, System::UInt16 min, System::UInt16 max) = System::Numerics::INumber<System::UInt16>::Clamp;
public static ushort Clamp(ushort value, ushort min, ushort max);
static member Clamp : uint16 * uint16 * uint16 -> uint16
Public Shared Function Clamp (value As UShort, min As UShort, max As UShort) As UShort

매개 변수

value
UInt16

클램프할 값입니다.

min
UInt16

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

max
UInt16

클램프해야 하는 value 포괄 최대값입니다.

반품

포함 범위 및 .에 대한 클램핑 value 결과 min 입니다 max.

구현

적용 대상