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 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:
BasisThe resulting basis matrix of the interpolation.
See Also