Hello, all.
Here I have a question about blueprints class:
I have created a blueprint class manually, and I want to automatically generate massive of Blueprints with the same function structure as my manually-created blueprint but with different value(example: different vertices Triangles and so on) from outside(may be the values from a excel file), how can I do that ? Is anybody has some experience or advise?
Use object oriented programming to your advantage, First of all it’s impotent for you to understand that Blueprint is a class same as C++, not some magical actor and it inference code of class that it is basic it, not just C++ but also blueprints as they are also classes. Watch this if you don’t understand what im saying:
Now knowing that, make a base class blueprint for all your stuff and turn all those hardcoded arrays to variables, which i other blueprints based of that class you would set in defaults.
from outside(may be the values from a
excel file), how can I do that ? Is
anybody has some experience or advise?
First of all. What the gent above suggested. Once you have that going, consider looking into Data Tables which can load data from csv files Excel can spit out for you.
Thanks all! But here is what I want to have in very early : I have list of hard coded coordinate points,To create a massive of static mesh depend on these points: every four points makes a plane,and the plane I want to set it as a static mesh and save it. Is there any way to do it automatically?
Thanks all! But here is what I want to have in very early : I have list of hard coded coordinate points,To create a massive of static mesh depend on these points: every four points makes a plane,and the plane I want to set it as a static mesh and save it. Is there any way to do it automatically?