Function findControlPointIndex

  • Searches a control point at the specified time.

    Parameters

    • arr: ControlPoint[]

      The list of control points.

    • time: number

      The time to search for.

    Returns number

    Found control point.