| InterpolateNewBezier Method (InterpolateFunction, Vector3, Int32) |
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,
int slices
)
Parameters
- ease
- Type: DustProductions.CoreInterpolateFunction
The ease function to use - points
- Type: Vector3
The positions that make up the curve - slices
- Type: SystemInt32
The number of steps in the curve
Return Value
Type:
IEnumerableVector3The position on the curve at the step
See Also