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

Definição

Executa uma interpolação linear entre dois quatérnios com base em um valor que especifica a importância do segundo quatérnio.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

Parâmetros

quaternion1
Quaternion Quaternion Quaternion Quaternion

O primeiro quatérnio.The first quaternion.

quaternion2
Quaternion Quaternion Quaternion Quaternion

O segundo quatérnio.The second quaternion.

amount
Single Single Single Single

O peso relativo de quaternion2 na interpolação.The relative weight of quaternion2 in the interpolation.

Retornos

O quatérnio interpolado.The interpolated quaternion.

Aplica-se a