unreal.DataprepSetLODsReductionSettings

class unreal.DataprepSetLODsReductionSettings(percent_triangles: float = 0.0, screen_size: float = 0.0)

Bases: StructBase

Local struct used by UDataprepSetLODsOperation to better control UX

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepLibraries

  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • percent_triangles (float): [Read-Write] Percent Triangles: Percentage of triangles to keep. Ranges from 0.0 to 1.0: 1.0 = no reduction, 0.0 = no triangles.

  • screen_size (float): [Read-Write] Screen Size: ScreenSize to display this LOD. Ranges from 0.0 to 1.0.

property percent_triangles: float

[Read-Write] Percent Triangles: Percentage of triangles to keep. Ranges from 0.0 to 1.0: 1.0 = no reduction, 0.0 = no triangles.

Type:

(float)

property screen_size: float

[Read-Write] Screen Size: ScreenSize to display this LOD. Ranges from 0.0 to 1.0.

Type:

(float)