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] 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

[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

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

Type

(float)