PRIMITIVE_LINE_LOOP, PRIMITIVE_TRIANGLE_FAN not found in godot 4.x

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

In Godot 4.x, just can’t find Mesh.PRIMITIVE_LINE_LOOP, Mesh. PRIMITIVE_TRIANGLE_FAN enumerations which are available in 3.x. How can I use ImmediateMesh in 4.x to render point array as line loop or triangle fan.

Not really an answer, but some related info…

Mesh.PRIMITIVE_TRIANGLE_FAN seems to have been removed in Godot 4 · Issue #72775 · godotengine/godot · GitHub

jgodfrey | 2023-03-11 00:27