In the InstaLOD C++ API, I see there are two different enums. One is EInstaLODResultUsage
and the other is EInstaLODSavingOption
which is used in conjunction with the class UInstaLODResultSettings
. I see the first one is used as part of the Utilities section in the Unreal Editor Base Tool for InstaLOD. I can use it to optimize my static meshes with these settings.
However, I am trying to write a Python script that automatically selects meshes in the level and optimizes them using the InstaLOD Script Wrapper. But I am not able to use EInstaLODResultUsage
in Python. I can only use UInstaLODResultSettings
in Python which doesn’t give me the same results. What is the difference between the two? Ideally, I would like to set the settings in the screenshot above in my Python script. How would I do that? Thanks in advance.