Options
All
  • Public
  • Public/Protected
  • All
Menu

Path approximator for sliders.

Hierarchy

  • PathApproximator

Index

Constructors

Methods

  • Approximates a bezier slider's path.

    Creates a piecewise-linear approximation of a bezier curve by adaptively repeatedly subdividing the control points until their approximation error vanishes below a given threshold.

    Parameters

    • controlPoints: Vector2[]

      The anchor points of the slider.

    Returns Vector2[]

Generated using TypeDoc