Click or drag to resize

BasisSlerp Method

Assuming that the matrix is a proper rotation matrix, slerp performs a spherical-linear interpolation with another rotation matrix.

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

Parameters

target
Type: GodotBasis
The destination basis for interpolation.
weight
Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.

Return Value

Type: Basis
The resulting basis matrix of the interpolation.
See Also