Copy link to clipboard
Copied
I need to load an external resource and be able to reuse it (create new objects based on that resource). I need to create multiple objects using that resource and I don't want to load it again over and over every time I need to use it. My question is:
How can I load a resource (in my case, it's a collada file ".dae") once and be able to reuse it again?
As far as I know a collada file is nothing else than an xml-object.
You could read the contents in a xml- or xml list object, create a class from that and simply with new instantiate it.
Copy link to clipboard
Copied
As far as I know a collada file is nothing else than an xml-object.
You could read the contents in a xml- or xml list object, create a class from that and simply with new instantiate it.