Trixt0r / spriter

A Generic Java importer for Spriter animation files.

Home Page:https://brashmonkey.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copyObjects

wighawag opened this issue · comments

another question:

what is the copyObjects for in Player ?

I see it defaults to true. what effect will it have if set to false?

copyObjects is only meant to use if you plan to use multiple Player objects in different threads.
Internally this flag is used to do copies of rendering data, so Player objects with the same animation can be used independently in different threads.
If you are sure that every player object will be updated in the same thread you can set the flag to false. This should improve the performance a bit.