Quaternion.Lerp(Quaternion, Quaternion, Single) メソッド

定義

2 つの四元数の間の線形補間を、2 番目の四元数の重み付けを指定する値に基づいて実行します。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

パラメーター

quaternion1
Quaternion

最初の四元数。The first quaternion.

quaternion2
Quaternion

2 番目の四元数。The second quaternion.

amount
Single

補間での quaternion2 の相対的重み。The relative weight of quaternion2 in the interpolation.

戻り値

補間四元数。The interpolated quaternion.

適用対象