Vector256.Lerp Methode

Definitie

Overloads

Name Description
Lerp(Vector256<Double>, Vector256<Double>, Vector256<Double>)

Voert een lineaire interpolatie uit tussen twee vectoren op basis van de opgegeven weging.

Lerp(Vector256<Single>, Vector256<Single>, Vector256<Single>)

Voert een lineaire interpolatie uit tussen twee vectoren op basis van de opgegeven weging.

Lerp(Vector256<Double>, Vector256<Double>, Vector256<Double>)

Bron:
Vector256.cs
Bron:
Vector256.cs
Bron:
Vector256.cs

Voert een lineaire interpolatie uit tussen twee vectoren op basis van de opgegeven weging.

public:
 static System::Runtime::Intrinsics::Vector256<double> Lerp(System::Runtime::Intrinsics::Vector256<double> x, System::Runtime::Intrinsics::Vector256<double> y, System::Runtime::Intrinsics::Vector256<double> amount);
public static System.Runtime.Intrinsics.Vector256<double> Lerp(System.Runtime.Intrinsics.Vector256<double> x, System.Runtime.Intrinsics.Vector256<double> y, System.Runtime.Intrinsics.Vector256<double> amount);
static member Lerp : System.Runtime.Intrinsics.Vector256<double> * System.Runtime.Intrinsics.Vector256<double> * System.Runtime.Intrinsics.Vector256<double> -> System.Runtime.Intrinsics.Vector256<double>
Public Function Lerp (x As Vector256(Of Double), y As Vector256(Of Double), amount As Vector256(Of Double)) As Vector256(Of Double)

Parameters

x
Vector256<Double>

De eerste vector.

y
Vector256<Double>

De tweede vector.

amount
Vector256<Double>

Een waarde tussen 0 en 1 die het gewicht van y.

Retouren

De geïnterpoleerde vector.

Van toepassing op

Lerp(Vector256<Single>, Vector256<Single>, Vector256<Single>)

Bron:
Vector256.cs
Bron:
Vector256.cs
Bron:
Vector256.cs

Voert een lineaire interpolatie uit tussen twee vectoren op basis van de opgegeven weging.

public:
 static System::Runtime::Intrinsics::Vector256<float> Lerp(System::Runtime::Intrinsics::Vector256<float> x, System::Runtime::Intrinsics::Vector256<float> y, System::Runtime::Intrinsics::Vector256<float> amount);
public static System.Runtime.Intrinsics.Vector256<float> Lerp(System.Runtime.Intrinsics.Vector256<float> x, System.Runtime.Intrinsics.Vector256<float> y, System.Runtime.Intrinsics.Vector256<float> amount);
static member Lerp : System.Runtime.Intrinsics.Vector256<single> * System.Runtime.Intrinsics.Vector256<single> * System.Runtime.Intrinsics.Vector256<single> -> System.Runtime.Intrinsics.Vector256<single>
Public Function Lerp (x As Vector256(Of Single), y As Vector256(Of Single), amount As Vector256(Of Single)) As Vector256(Of Single)

Parameters

x
Vector256<Single>

De eerste vector.

y
Vector256<Single>

De tweede vector.

amount
Vector256<Single>

Een waarde tussen 0 en 1 die het gewicht van y.

Retouren

De geïnterpoleerde vector.

Van toepassing op