Quaternion.Slerp(Quaternion, Quaternion, Single) Quaternion.Slerp(Quaternion, Quaternion, Single) Quaternion.Slerp(Quaternion, Quaternion, Single) Quaternion.Slerp(Quaternion, Quaternion, Single) Method

Définition

Effectue une interpolation entre deux quaternions, en utilisant une interpolation linéaire sphérique.Interpolates between two quaternions, using spherical linear interpolation.

public:
 static System::Numerics::Quaternion Slerp(System::Numerics::Quaternion quaternion1, System::Numerics::Quaternion quaternion2, float amount);
public static System.Numerics.Quaternion Slerp (System.Numerics.Quaternion quaternion1, System.Numerics.Quaternion quaternion2, float amount);
static member Slerp : System.Numerics.Quaternion * System.Numerics.Quaternion * single -> System.Numerics.Quaternion
Public Shared Function Slerp (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

La pondération relative du deuxième quaternion dans l'interpolation.The relative weight of the second quaternion in the interpolation.

Retours

Quaternion interpolé.The interpolated quaternion.

S’applique à