Quaternion.Lerp(Quaternion, Quaternion, Single) Quaternion.Lerp(Quaternion, Quaternion, Single) Quaternion.Lerp(Quaternion, Quaternion, Single) Quaternion.Lerp(Quaternion, Quaternion, Single) Method

Définition

Effectue une interpolation linéaire entre deux quaternions selon une valeur qui spécifie la pondération du deuxième quaternion.Performs a linear interpolation between two quaternions based on a value that specifies the weighting of the second quaternion.

public:
 static System::Numerics::Quaternion Lerp(System::Numerics::Quaternion quaternion1, System::Numerics::Quaternion quaternion2, float amount);
public static System.Numerics.Quaternion Lerp (System.Numerics.Quaternion quaternion1, System.Numerics.Quaternion quaternion2, float amount);
static member Lerp : System.Numerics.Quaternion * System.Numerics.Quaternion * single -> System.Numerics.Quaternion
Public Shared Function Lerp (quaternion1 As Quaternion, quaternion2 As Quaternion, amount As Single) As Quaternion

Paramètres

quaternion1
Quaternion Quaternion Quaternion Quaternion

Premier quaternion.The first quaternion.

quaternion2
Quaternion Quaternion Quaternion Quaternion

Deuxième quaternion.The second quaternion.

amount
Single Single Single Single

Pondération relative de quaternion2 dans l'interpolation.The relative weight of quaternion2 in the interpolation.

Retours

Quaternion interpolé.The interpolated quaternion.

S’applique à