Vector3LinearInterpolate Method (Vector3, Vector3) |
Returns the result of the linear interpolation between
this vector and `to` by the vector amount `weight`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector3 LinearInterpolate(
Vector3 to,
Vector3 weight
)
Parameters
- to
- Type: GodotVector3
The destination vector for interpolation. - weight
- Type: GodotVector3
A vector with components on the range of 0.0 to 1.0, representing the amount of interpolation.
Return Value
Type:
Vector3The resulting vector of the interpolation.
See Also