cubicBezier(controlPoint1:controlPoint2:)
Creates a timing function that accelerates and then decelerates towards the target value with the cubic bezier shape specified by two control points.
Declaration
static func cubicBezier(controlPoint1: SIMD2<Float>, controlPoint2: SIMD2<Float>) -> AnimationTimingFunctionParameters
- controlPoint1:
The first control point for the cubic bezier function.
- controlPoint2:
The second control point for the cubic bezier function.
Return Value
The cubic bezier timing function.