How do I add entities to the ViewportLayout control from a different thread?

Adding entities from a different thread is not allowed. However, you can fill a separate List<Entity> in your background thread and once finished add the entity list to the master entity collection in one operation using the ViewportLayout.Entities.AddRange() method.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.