API

Class FlowGraphBezierCurveEasingBlock

An easing block that generates a cubic Bézier easing function based on the data provided.

Follows CSS cubic-bezier semantics: for input progress t, solve the curve parameter where X equals t, then use the corresponding Y coordinate as the eased output progress.

Hierarchy (View Summary)

Index
config?: any

the configuration of the block

controlPoint1: FlowGraphDataConnection<Vector2>

Input connection: Control point 1 for bezier curve.

controlPoint2: FlowGraphDataConnection<Vector2>

Input connection: Control point 2 for bezier curve.

easingFunction: FlowGraphDataConnection<EasingFunction>

Output connection: The easing function object.

mode: FlowGraphDataConnection<number>

Input connection: The mode of the easing function. EasingFunction.EASINGMODE_EASEIN, EasingFunction.EASINGMODE_EASEOUT, EasingFunction.EASINGMODE_EASEINOUT