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] 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] ScreenSize to display this LOD. Ranges from 0.0 to 1.0.

property percent_triangles: float

1.0 = no reduction, 0.0 = no triangles.

Type:

(float)

Type:

[Read-Write] Percentage of triangles to keep. Ranges from 0.0 to 1.0

property screen_size: float

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

Type:

(float)