unreal.DataprepSetLODsOperation

class unreal.DataprepSetLODsOperation(outer: Optional[Object] = None, name: Union[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] Auto Compute LODScreen Size: If true, the screen sizes at which LODs swap are automatically computed

  • reduction_settings (Array[DataprepSetLODsReductionSettings]): [Read-Write] Reduction Settings: Array of LOD reduction settings

property auto_compute_lod_screen_size: bool

[Read-Write] Auto Compute LODScreen Size: If true, the screen sizes at which LODs swap are automatically computed

Type:

(bool)

property reduction_settings: Array[DataprepSetLODsReductionSettings]

[Read-Write] Reduction Settings: Array of LOD reduction settings

Type:

(Array[DataprepSetLODsReductionSettings])