Feedback on "EditableMesh:AddTriangle"

You didn’t precise that AddTriangle() auto-generates corresponding UVs. It would have been very useful to have a boolean parameter so we can disable this auto-generation. In many cases, it is easier to use AddUV() and to properly set it rather than having to use the auto-generated ones.

Affected URL: https://create.roblox.com/docs/reference/engine/classes/EditableMesh#AddTriangle

2 Likes

Thanks for the feedback - the documentation has been updated, including how to set UV coordinates for the automatically created UV ids. In general, setting the values of the automatically created UV ids will be more performant than manually creating new UV ids. The main reason why you might want to create UV ids manually is if you want a UV seam.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.