I have an application where I create many lines (just two vertices) using
CustomGeometry. I need to be able to edit the world position of those vertices. I'm not sure how to go about this. I have done something like:
var component = node.GetComponent<CustomGeometry>(); var vertex = component.GetVertex(0, 0);
In this case,
vertex is a pointer. I have seen in the docs that these vertices can be edited, but I don't see how, nor have I seen any examples. Or, is there another approach I should be taking?