Vector3.Lerp Metodo

Definizione

Overload

Lerp(Vector3, Vector3, Single)

Esegue un'interpolazione lineare tra due vettori in base al peso specificato.

Lerp(Vector3, Vector3, Vector3)

Lerp(Vector3, Vector3, Single)

Origine:
Vector3.cs
Origine:
Vector3.cs
Origine:
Vector3.cs

Esegue un'interpolazione lineare tra due vettori in base al peso specificato.

public:
 static System::Numerics::Vector3 Lerp(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2, float amount);
public static System.Numerics.Vector3 Lerp (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2, float amount);
static member Lerp : System.Numerics.Vector3 * System.Numerics.Vector3 * single -> System.Numerics.Vector3
Public Shared Function Lerp (value1 As Vector3, value2 As Vector3, amount As Single) As Vector3

Parametri

value1
Vector3

Primo vettore.

value2
Vector3

Secondo vettore.

amount
Single

Valore compreso tra 0 e 1 che indica il peso di value2.

Restituisce

Vettore interpolato.

Si applica a

Lerp(Vector3, Vector3, Vector3)

public:
 static System::Numerics::Vector3 Lerp(System::Numerics::Vector3 value1, System::Numerics::Vector3 value2, System::Numerics::Vector3 amount);
public static System.Numerics.Vector3 Lerp (System.Numerics.Vector3 value1, System.Numerics.Vector3 value2, System.Numerics.Vector3 amount);
static member Lerp : System.Numerics.Vector3 * System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function Lerp (value1 As Vector3, value2 As Vector3, amount As Vector3) As Vector3

Parametri

value1
Vector3
value2
Vector3
amount
Vector3

Restituisce

Si applica a