Would it be possible to consider adding immediate mode to the conversion as well? This is more flexible and reduces the switch between using the unity editor and writing the code implementation in separate threejs, hopefully all in the unity editor!
@herbst🌵 For example, if I want to realize the function of drawing a line, every frame I will record the position of the mouse and generate two vertices in the tangent direction to the drawing direction, I will record the generated vertices and calculate the corresponding index and uv, so that every frame I will pass the collected data to the gpu for them to render, that’s what I mean by the immediate drawing mode, I don’t know if it is possible to realize this kind of conversion? Surely there are methods that would be more inconvenient
Needle Engine doesn’t convert code directly, but helps with data setup and wiring things up. So you can e.g. have a “LineDrawer” component with certain settings and that is represented by a typescript component doing the drawing