Click or drag to resize

QuatCubicSlerp Method

Performs a cubic spherical interpolation between quaternions `preA`, this vector, `b`, and `postB`, by the given amount `t`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Quat CubicSlerp(
	Quat b,
	Quat preA,
	Quat postB,
	float t
)

Parameters

b
Type: GodotQuat
The destination quaternion.
preA
Type: GodotQuat
A quaternion before this quaternion.
postB
Type: GodotQuat
A quaternion after `b`.
t
Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.

Return Value

Type: Quat
The interpolated quaternion.
See Also