Vector3CubicInterpolate Method |
Performs a cubic interpolation between vectors `preA`, this vector,
`b`, and `postB`, by the given amount `t`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector3 CubicInterpolate(
Vector3 b,
Vector3 preA,
Vector3 postB,
float t
)
Parameters
- b
- Type: GodotVector3
The destination vector. - preA
- Type: GodotVector3
A vector before this vector. - postB
- Type: GodotVector3
A vector after `b`. - t
- Type: SystemSingle
A value on the range of 0.0 to 1.0, representing the amount of interpolation.
Return Value
Type:
Vector3The interpolated vector.
See Also