Function

getTimelineKeyframeBezierControlPoints

Returns viewport-space cubic Bezier control points between two keyframe points.

Signature

Type Definition
getTimelineKeyframeBezierControlPoints(startPoint: TimelineKeyframeCurvePoint, endPoint: TimelineKeyframeCurvePoint, easing: TimelineCubicBezier | undefined): { controlPoint1: TimelineKeyframeCurvePoint; controlPoint2: TimelineKeyframeCurvePoint }

Parameters

NameTypeDescription
startPointTimelineKeyframeCurvePointViewport-space point for the segment's starting keyframe.
endPointTimelineKeyframeCurvePointViewport-space point for the segment's ending keyframe.
easingTimelineCubicBezier | undefinedOptional normalized cubic Bezier easing control points.

Returns

{ controlPoint1: TimelineKeyframeCurvePoint; controlPoint2: TimelineKeyframeCurvePoint }

Viewport-space control points for the segment curve.

Return members

NameSignatureDescription
controlPoint1controlPoint1: TimelineKeyframeCurvePointNo return member summary yet.
controlPoint2controlPoint2: TimelineKeyframeCurvePointNo return member summary yet.