Vector.Lerp Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Lerp(Vector<Double>, Vector<Double>, Vector<Double>) |
Utför en linjär interpolering mellan två vektorer baserat på den angivna viktningen. |
| Lerp(Vector<Single>, Vector<Single>, Vector<Single>) |
Utför en linjär interpolering mellan två vektorer baserat på den angivna viktningen. |
Lerp(Vector<Double>, Vector<Double>, Vector<Double>)
- Källa:
- Vector.cs
- Källa:
- Vector.cs
- Källa:
- Vector.cs
Utför en linjär interpolering mellan två vektorer baserat på den angivna viktningen.
public:
static System::Numerics::Vector<double> Lerp(System::Numerics::Vector<double> x, System::Numerics::Vector<double> y, System::Numerics::Vector<double> amount);
public static System.Numerics.Vector<double> Lerp(System.Numerics.Vector<double> x, System.Numerics.Vector<double> y, System.Numerics.Vector<double> amount);
static member Lerp : System.Numerics.Vector<double> * System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<double>
Public Function Lerp (x As Vector(Of Double), y As Vector(Of Double), amount As Vector(Of Double)) As Vector(Of Double)
Parametrar
Returer
Den interpolerade vektorn.
Gäller för
Lerp(Vector<Single>, Vector<Single>, Vector<Single>)
- Källa:
- Vector.cs
- Källa:
- Vector.cs
- Källa:
- Vector.cs
Utför en linjär interpolering mellan två vektorer baserat på den angivna viktningen.
public:
static System::Numerics::Vector<float> Lerp(System::Numerics::Vector<float> x, System::Numerics::Vector<float> y, System::Numerics::Vector<float> amount);
public static System.Numerics.Vector<float> Lerp(System.Numerics.Vector<float> x, System.Numerics.Vector<float> y, System.Numerics.Vector<float> amount);
static member Lerp : System.Numerics.Vector<single> * System.Numerics.Vector<single> * System.Numerics.Vector<single> -> System.Numerics.Vector<single>
Public Function Lerp (x As Vector(Of Single), y As Vector(Of Single), amount As Vector(Of Single)) As Vector(Of Single)
Parametrar
Returer
Den interpolerade vektorn.