Vector.ClampNative<T> Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
ve NegativeZeroiçin NaN platforma özgü davranışı kullanarak en düşük ve en yüksek değer arasındaki vektörleri kısıtlar.
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ür Parametreleri
- T
Vektördeki öğelerin türü.
Parametreler
- value
- Vector<T>
Kısıtlanması gereken vektör.
- min
- Vector<T>
En düşük değer.
- max
- Vector<T>
En büyük değer.
Döndürülenler
Kısıtlanmış vektör.