Vector.ClampNative<T> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
NaNとNegativeZeroのプラットフォーム固有の動作を使用して、最小値と最大値の間のベクトルを制限します。
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>
最大値。
返品
制限付きベクター。