Quaternion.Slerp Método

Definición

Interpola entre las orientaciones, representadas como estructuras Quaternion, usando la interpolación lineal esférica.Interpolates between orientations, represented as Quaternion structures, using spherical linear interpolation.

Sobrecargas

Slerp(Quaternion, Quaternion, Double)

Interpola entre dos orientaciones mediante la interpolación lineal esférica.Interpolates between two orientations using spherical linear interpolation.

Slerp(Quaternion, Quaternion, Double, Boolean)

Interpola entre las orientaciones, representadas como estructuras Quaternion, usando la interpolación lineal esférica.Interpolates between orientations, represented as Quaternion structures, using spherical linear interpolation.

Slerp(Quaternion, Quaternion, Double)

Interpola entre dos orientaciones mediante la interpolación lineal esférica.Interpolates between two orientations using spherical linear interpolation.

public:
 static System::Windows::Media::Media3D::Quaternion Slerp(System::Windows::Media::Media3D::Quaternion from, System::Windows::Media::Media3D::Quaternion to, double t);
public static System.Windows.Media.Media3D.Quaternion Slerp (System.Windows.Media.Media3D.Quaternion from, System.Windows.Media.Media3D.Quaternion to, double t);
static member Slerp : System.Windows.Media.Media3D.Quaternion * System.Windows.Media.Media3D.Quaternion * double -> System.Windows.Media.Media3D.Quaternion
Public Shared Function Slerp (from As Quaternion, to As Quaternion, t As Double) As Quaternion

Parámetros

from
Quaternion

Estructura Quaternion que representa la orientación inicial.Quaternion that represents the starting orientation.

to
Quaternion

Estructura Quaternion que representa la orientación final.Quaternion that represents the ending orientation.

t
Double

Coeficiente de interpolación.Interpolation coefficient.

Devoluciones

Quaternion

Estructura Quaternion que representa la orientación resultante de la interpolación.Quaternion that represents the orientation resulting from the interpolation.

Comentarios

La interpolación lineal esférica es útil para animar los modelos tridimensionales, ya que proporciona transiciones suaves entre las distintas orientaciones del modelo.Spherical linear interpolation is useful for animating a three-dimensional models because it provides smooth transitions between different orientations of the model.

Slerp(Quaternion, Quaternion, Double, Boolean)

Interpola entre las orientaciones, representadas como estructuras Quaternion, usando la interpolación lineal esférica.Interpolates between orientations, represented as Quaternion structures, using spherical linear interpolation.

public:
 static System::Windows::Media::Media3D::Quaternion Slerp(System::Windows::Media::Media3D::Quaternion from, System::Windows::Media::Media3D::Quaternion to, double t, bool useShortestPath);
public static System.Windows.Media.Media3D.Quaternion Slerp (System.Windows.Media.Media3D.Quaternion from, System.Windows.Media.Media3D.Quaternion to, double t, bool useShortestPath);
static member Slerp : System.Windows.Media.Media3D.Quaternion * System.Windows.Media.Media3D.Quaternion * double * bool -> System.Windows.Media.Media3D.Quaternion
Public Shared Function Slerp (from As Quaternion, to As Quaternion, t As Double, useShortestPath As Boolean) As Quaternion

Parámetros

from
Quaternion

Estructura Quaternion que representa la orientación inicial.Quaternion that represents the starting orientation.

to
Quaternion

Estructura Quaternion que representa la orientación final.Quaternion that represents the ending orientation.

t
Double

Coeficiente de interpolación.Interpolation coefficient.

useShortestPath
Boolean

Valor de tipo booleano que indica si se calculan los cuaterniones que constituyen el arco más corto posible de una esfera cuatridimensional.Boolean that indicates whether to compute quaternions that constitute the shortest possible arc on a four-dimensional unit sphere.

Devoluciones

Quaternion

Estructura Quaternion que representa la orientación resultante de la interpolación.Quaternion that represents the orientation resulting from the interpolation.

Comentarios

La interpolación lineal esférica es útil para animar los modelos tridimensionales, ya que proporciona transiciones suaves entre las distintas orientaciones del modelo.Spherical linear interpolation is useful for animating a three-dimensional models because it provides smooth transitions between different orientations of the model.

Se aplica a