Vector64.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(Vector64<Double>, Vector64<Double>, Vector64<Double>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Lerp(Vector64<Single>, Vector64<Single>, Vector64<Single>) |
Performs a linear interpolation between two vectors based on the given weighting. |
Lerp(Vector64<Double>, Vector64<Double>, Vector64<Double>)
Performs a linear interpolation between two vectors based on the given weighting.
public:
static System::Runtime::Intrinsics::Vector64<double> Lerp(System::Runtime::Intrinsics::Vector64<double> x, System::Runtime::Intrinsics::Vector64<double> y, System::Runtime::Intrinsics::Vector64<double> amount);
public static System.Runtime.Intrinsics.Vector64<double> Lerp (System.Runtime.Intrinsics.Vector64<double> x, System.Runtime.Intrinsics.Vector64<double> y, System.Runtime.Intrinsics.Vector64<double> amount);
static member Lerp : System.Runtime.Intrinsics.Vector64<double> * System.Runtime.Intrinsics.Vector64<double> * System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector64<double>
Public Function Lerp (x As Vector64(Of Double), y As Vector64(Of Double), amount As Vector64(Of Double)) As Vector64(Of Double)
Parameters
Returns
The interpolated vector.
Applies to
Lerp(Vector64<Single>, Vector64<Single>, Vector64<Single>)
Performs a linear interpolation between two vectors based on the given weighting.
public:
static System::Runtime::Intrinsics::Vector64<float> Lerp(System::Runtime::Intrinsics::Vector64<float> x, System::Runtime::Intrinsics::Vector64<float> y, System::Runtime::Intrinsics::Vector64<float> amount);
public static System.Runtime.Intrinsics.Vector64<float> Lerp (System.Runtime.Intrinsics.Vector64<float> x, System.Runtime.Intrinsics.Vector64<float> y, System.Runtime.Intrinsics.Vector64<float> amount);
static member Lerp : System.Runtime.Intrinsics.Vector64<single> * System.Runtime.Intrinsics.Vector64<single> * System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector64<single>
Public Function Lerp (x As Vector64(Of Single), y As Vector64(Of Single), amount As Vector64(Of Single)) As Vector64(Of Single)
Parameters
Returns
The interpolated vector.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา