Batch change Reduction Settings for static mesh
I need to be able to batch edit the 'percent triangles' for hundreds of unique static meshes. I have looked in the 'property matrix' for this option, but am unable to figure out how to change these in masses.
asked Jan 04 '19 at 02:19 PM in Using UE4
Hey Keith, I'm assuming that your intent here is to re-generate the LODs after you set that "percent triangles" value -- basically pushing the Apply Changes button for all the assets.
In that case, you could use a Python or Blueprint editor script to run through the assets and re-generate the LODs programmatically. There's a page in the docs that shows how to do this here:
I was able to do this using the first sample script on that page, changing the reduction settings to:
Basically you get a list of the assets you want to handle, and iterate through them. Your script loads each one in turn and re-generates its LODs, supplying the reduction percentage you want to use. Then you save each modified asset.
Hope that helps!
answered Jan 04 '19 at 03:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here