StOneDOes Posted October 12, 2017 Share Posted October 12, 2017 Hi guys, Just wondering how to go about having multiple instances of the same actual model? Let's take a model of a fence for example - if every time I wish to deploy a fence, if I call Model::Load() will Leadwerks actually load this model every time? Or will it load it once, store it, and return a copy of it for me? Or do I need to set up my own system that loads each model I need once, which returns a copy each time I need one? Thank you. Quote Link to comment Share on other sites More sharing options...
Josh Posted October 12, 2017 Share Posted October 12, 2017 4 hours ago, St0nedas said: Hi guys, Just wondering how to go about having multiple instances of the same actual model? Let's take a model of a fence for example - if every time I wish to deploy a fence, if I call Model::Load() will Leadwerks actually load this model every time? Or will it load it once, store it, and return a copy of it for me? Or do I need to set up my own system that loads each model I need once, which returns a copy each time I need one? Thank you. This is the automatic default behavior. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.