unreal.DataprepSimplifyMeshOperation

class unreal.DataprepSimplifyMeshOperation(outer: Object | None = None, name: Name | str = 'None')

Bases: DataprepEditingOperation

Experimental - Simplify input meshes

C++ Source:

  • Plugin: DataprepGeometryOperations

  • Module: DataprepGeometryOperations

  • File: DataprepGeometryOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • discard_attributes (bool): [Read-Write] Discard UVs and existing normals, allowing the simplifier to ignore any UV and normal seams. New per-vertex normals are computed.

  • group_boundary_constraint (GroupBoundaryConstraint): [Read-Write] Group Boundary Constraint Type

  • material_boundary_constraint (MaterialBoundaryConstraint): [Read-Write] Material Boundary Constraint Type

  • mesh_boundary_constraint (MeshBoundaryConstraint): [Read-Write] Mesh Boundary Constraint Type

  • target_percentage (int32): [Read-Write] Target percentage of original triangle count