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

property auto_compute_lod_screen_size

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

Type

(bool)

property reduction_settings

[Read-Write] Array of LOD reduction settings

Type

(Array(DataprepSetLODsReductionSettings))