Click or drag to resize

QuatSlerp Method

Returns the result of the spherical linear interpolation between this quaternion and `to` by amount `weight`. Note: Both quaternions must be normalized.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Quat Slerp(
	Quat to,
	float weight
)

Parameters

to
Type: GodotQuat
The destination quaternion for interpolation. Must be normalized.
weight
Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.

Return Value

Type: Quat
The resulting quaternion of the interpolation.
See Also