| InterpolateNewBezier Method (InterpolateFunction, Vector3, Single) |
A Vector3[] variation of the Transform[] NewBezier() function.
Same functionality but using Vector3s to define bezier curve.
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static IEnumerable<Vector3> NewBezier(
InterpolateFunction ease,
Vector3[] points,
float duration
)
Parameters
- ease
- Type: DustProductions.CoreInterpolateFunction
The ease function to use - points
- Type: Vector3
The positions that make up the curve - duration
- Type: SystemSingle
The length of time for the curve to take
Return Value
Type:
IEnumerableVector3The position on the curve at the time
See Also