unreal.DataprepSetLODsOperation

class unreal.DataprepSetLODsOperation(outer: Object | None = None, name: Name | str = 'None')

Bases: 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

property auto_compute_lod_screen_size: bool

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

Type:

(bool)

property reduction_settings: None

[Read-Write] Array of LOD reduction settings

Type:

(Array[DataprepSetLODsReductionSettings])