Vector256.Lerp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Lerp(Vector256<Double>, Vector256<Double>, Vector256<Double>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Lerp(Vector256<Single>, Vector256<Single>, Vector256<Single>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Lerp(Vector256<Double>, Vector256<Double>, Vector256<Double>)
Performs a linear interpolation between two vectors based on the given weighting.
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
Returns
The interpolated vector.
Applies to
Lerp(Vector256<Single>, Vector256<Single>, Vector256<Single>)
Performs a linear interpolation between two vectors based on the given weighting.
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
Returns
The interpolated vector.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.