unreal.GeometryScriptClusterSimplifyMeshOptions

class unreal.GeometryScriptClusterSimplifyMeshOptions(discard_attributes: bool = False, fix_boundary_angle_tolerance: float = 0.0, edge_constraints: GeometryScriptClusterSimplifyEdgeConstraintOptions = Ellipsis)

Bases: StructBase

Geometry Script Cluster Simplify Mesh Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshSimplifyFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • discard_attributes (bool): [Read-Write] Whether to discard attributes (materials, UV/normal/tangent/color attributes) Note that attribute seam edges will not be constrained if attributes are discarded

  • edge_constraints (GeometryScriptClusterSimplifyEdgeConstraintOptions): [Read-Write] Options to constrain simplification of different mesh edge types, to optionally help preserve mesh boundaries and seams

  • fix_boundary_angle_tolerance (double): [Read-Write] If > 0, boundary vertices w/ incident boundary edge angle greater than this (in degrees) will be kept in the output

property discard_attributes: bool

[Read-Write] Whether to discard attributes (materials, UV/normal/tangent/color attributes) Note that attribute seam edges will not be constrained if attributes are discarded

Type:

(bool)

property edge_constraints: GeometryScriptClusterSimplifyEdgeConstraintOptions

[Read-Write] Options to constrain simplification of different mesh edge types, to optionally help preserve mesh boundaries and seams

Type:

(GeometryScriptClusterSimplifyEdgeConstraintOptions)

property fix_boundary_angle_tolerance: float

[Read-Write] If > 0, boundary vertices w/ incident boundary edge angle greater than this (in degrees) will be kept in the output

Type:

(double)