Curve Point Colors c#

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wooshuwu

I have some points in a Curve3D Node that is being visualized by an ImmediateGeometry node. I have changed the color of all the points with the MaterialOverride property (of the ImmediateGeometry node) and the AlbedoColor property of the new SpatialMaterial that overrode the previous material. I only have 3 points in my curve, but I want to distinguish them by color. Is that possible and if so, how can I go about it?

I used the c# equivalent of this code (the second answer): code link