unreal.DataprepSetLODsReductionSettings

class unreal.DataprepSetLODsReductionSettings(percent_triangles=0.5, screen_size=0.5)

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

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

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

Type

(float)