Vector.ClampNative<T> メソッド

定義

NaNNegativeZeroのプラットフォーム固有の動作を使用して、最小値と最大値の間のベクトルを制限します。

public:
generic <typename T>
 static System::Numerics::Vector<T> ClampNative(System::Numerics::Vector<T> value, System::Numerics::Vector<T> min, System::Numerics::Vector<T> max);
public static System.Numerics.Vector<T> ClampNative<T>(System.Numerics.Vector<T> value, System.Numerics.Vector<T> min, System.Numerics.Vector<T> max);
static member ClampNative : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Function ClampNative(Of T) (value As Vector(Of T), min As Vector(Of T), max As Vector(Of T)) As Vector(Of T)

型パラメーター

T

ベクター内の要素の型。

パラメーター

value
Vector<T>

制限するベクター。

min
Vector<T>

最小値。

max
Vector<T>

最大値。

返品

制限付きベクター。

適用対象