How to input more than 3 points in GHGL mesh shader for Grasshopper

Hello.
I am trying to color gradients on a human body mesh using the following GHGL sample for Grasshopper.

In this sample, two points and colors could be entered to create a gradient, but is it possible to do that with more than 3 points?

Sorry, but I have no knowledge of C# and could not figure it out from the sample script.
I would appreciate it if someone with knowledge could help me.
Thanks in advance.

gradient_linear.gh (14.7 KB)



I think you might use the 3rd option from the github link you have posted, Linear gradient with color steps?

on the gradient component: double click an existing point to edit it, drag a point out of the component to delete it, click on the top-left colorful corner to add a new point at 0