Reputation: 13297
How can I set colors of a submeshes vertices without re-generating it? Mesh class has methods for setting Triangles and Indices of a submesh, but nothing else.
Upvotes: 0
Views: 324
Reputation:
You cannot set any vertex attributes for a submesh. You can only assign attributes to the entire mesh, and split it up into submeshes as you please. Consider this "regeneration" if you like; I don't recognize that term.
Upvotes: 1