What is setInterleaved and setStreamed for?


I understand setStaic and setDynamic in Mesh.class.

What exactly is setInterlevaed and setStreamed for?

Are these for exclusive options for the same state of a Mesh object, i.e.

static OR dynamic OR streamed OR interleaved


And what is setMaxNumWeights for?

Thanks a lot.




a triangle can be affected by up to 4 bones [no more - jme limitation]. so you can provide setMaxNumWeights with a value from 1 until 4.

Take a look at the javadoc, it gives a pretty good explanation. Set interleaved just rearranges the data a bit but generally its not that useful