I am trying to make an alternative to Debug lines and shapes, by making Procedural Mesh on runtime, it is very low cost when used to draw a small set of squares(two triangles) and it is very appealing to use.
Only problem I faced is trying to assign a color or linear color to MeshSections.
Both functions CreateMeshSection, and CreateMeshSection_LinearColor take my FVerticesColor(FColor,FLinearColor, respectively), yet colors never appeared.
- I tried to assigned proper UVs, and then to deleted all UVs.
- I did the same to Normals.
- I did the same to Tangents.
Any clue, or total alternative?