Download

Bulk Edit Minimum LOD for Platform groups

Hi.

Is there a way to bulk edit the Minimum LOD per platform for multiple meshes? (C++? Python? Blueprint?)

Screenshot-20190424-at-09.10.14.png

Did you find a solution for this?

No. Nothing so far.

https://docs.unrealengine.com/en-US/…ODs/index.html
https://api.unrealengine.com/INT/PythonAPI/class/MeshLOD.html
https://api.unrealengine.com/INT/PythonAPI/class/MeshLODSelectionType.html

This can be done. It has to be in the C++ files for AssetTypeActions_StaticMesh (.cpp & .h). A new function needs to be built to use the LODCopyMesh, and then use the function GetMinimumLODForPlatform(“Mobile”). In this example, it’s easier to just use one platform, rather than having to loop through each. I’d probably just build a new context menu entry for PastePlatformMinLOD, at that point. If only using desktop and mobile, this should be a more simple solution (just checking the mobile platform).

What I do is setup reference meshes which have the proper override I need (i.e. Mobile = 1, Mobile = 2). Then, RMB in the content browser and select “Copy LOD”, then select a group of meshes and RMB>paste PlatformMinLOD from {0}. This is basically like bulk-editing. Setup the view filter to static mesh and go to the root content folder, and all project static meshes can be manipulated quickly.

The “Desktop” platform override is unnecessary–just use “Default” for that.