Class FlowGraphBezierCurveEasingBlock
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphBezierCurveEasingBlock
Constructors
constructor
-
Parameters
Optionalconfig: anythe configuration of the block
Returns FlowGraphBezierCurveEasingBlock
Properties
Optionalconfig
config?: any
the configuration of the block
Readonlycontrol Point1
controlPoint1: FlowGraphDataConnection<Vector2>
Input connection: Control point 1 for bezier curve.
Readonlycontrol Point2
controlPoint2: FlowGraphDataConnection<Vector2>
Input connection: Control point 2 for bezier curve.
Readonlyeasing Function
easingFunction: FlowGraphDataConnection<EasingFunction>
Output connection: The easing function object.
Readonlymode
mode: FlowGraphDataConnection<number>
Input connection: The mode of the easing function. EasingFunction.EASINGMODE_EASEIN, EasingFunction.EASINGMODE_EASEOUT, EasingFunction.EASINGMODE_EASEINOUT
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 equalst, then use the corresponding Y coordinate as the eased output progress.