Quaternion.Slerp(Quaternion, Quaternion, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- quaternion1
- Quaternion
The first quaternion.
- quaternion2
- Quaternion
The second quaternion.
- amount
- Single
The relative weight of the second quaternion in the interpolation.
Returns
The interpolated quaternion.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.