unreal.DataprepSetLODsOperation

class unreal.DataprepSetLODsOperation(outer=None, name='None')

Bases: unreal.DataprepOperation

For each static mesh to process, replace the existing static mesh’s LODs with new ones based on the set of reduction settings

C++ Source:

  • Plugin: DataPrepEditor
  • Module: DataprepLibraries
  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_compute_lod_screen_size (bool): [Read-Write] If true, the screen sizes at which LODs swap are automatically computed
  • reduction_settings (Array(DataprepSetLODsReductionSettings)): [Read-Write] Array of LOD reduction settings
auto_compute_lod_screen_size

(bool) – [Read-Write] If true, the screen sizes at which LODs swap are automatically computed

reduction_settings

(Array(DataprepSetLODsReductionSettings)) – [Read-Write] Array of LOD reduction settings