unreal.EditorScriptingMeshReductionSettings

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

Bases: unreal.StructBase

Editor Scripting Mesh Reduction Settings

C++ Source:

  • Plugin: EditorScriptingUtilities

  • Module: EditorScriptingUtilities

  • File: EditorStaticMeshLibrary.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)