Vector128.Lerp Methode

Definitie

Overloads

Name Description
Lerp(Vector128<Single>, Vector128<Single>, Vector128<Single>)

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

Lerp(Vector128<Double>, Vector128<Double>, Vector128<Double>)

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

Lerp(Vector128<Single>, Vector128<Single>, Vector128<Single>)

Bron:
Vector128.cs
Bron:
Vector128.cs
Bron:
Vector128.cs

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

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

Parameters

x
Vector128<Single>

De eerste vector.

y
Vector128<Single>

De tweede vector.

amount
Vector128<Single>

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

Retouren

De geïnterpoleerde vector.

Van toepassing op

Lerp(Vector128<Double>, Vector128<Double>, Vector128<Double>)

Bron:
Vector128.cs
Bron:
Vector128.cs
Bron:
Vector128.cs

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

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

Parameters

x
Vector128<Double>

De eerste vector.

y
Vector128<Double>

De tweede vector.

amount
Vector128<Double>

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

Retouren

De geïnterpoleerde vector.

Van toepassing op