unreal.GeometryScript_MeshSimplification

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

Bases: BlueprintFunctionLibrary

Geometry Script Library Mesh Simplify Functions

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshSimplifyFunctions.h

classmethod apply_cluster_simplify_to_edge_length(target_mesh, edge_length, options, debug=None) DynamicMesh

Simplifies the mesh to a target edge length, using a fast cluster-based method (not error-based). Note: Lengths are approximated via ‘graph distance’ on the original mesh; will not exactly match the target.

Parameters:
Return type:

DynamicMesh

classmethod apply_editor_simplify_to_triangle_count(target_mesh, triangle_count, debug=None) DynamicMesh

Simplifies the mesh until a target triangle count is reached, using the UE Editor’s standard mesh simplifier. Editor only.

Parameters:
Return type:

DynamicMesh

classmethod apply_editor_simplify_to_vertex_count(target_mesh, vertex_count, debug=None) DynamicMesh

Simplifies the mesh until a target vertex count is reached, using the UE Editor’s standard mesh simplifier. Editor only.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_edge_length(target_mesh, edge_length, options, debug=None) DynamicMesh

Simplifies the mesh to a target edge length, using error-based edge collapse. Note: Not intended to create uniform edge lengths. Result may have edge lengths much larger than the target value.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_planar(target_mesh, options, debug=None) DynamicMesh

Simplifies planar areas of the mesh that have more triangles than necessary. Note that it does not change the 3D shape of the mesh. Planar regions are identified by comparison of face normals using a Angle Threshold in the Options.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_polygroup_topology(target_mesh, options, group_layer, debug=None) DynamicMesh

Simplifies the mesh down to the PolyGroup Topology. For example, the high-level faces of the mesh PolyGroups. Another example would be on a default Box-Sphere where simplifying to PolyGroup topology produces a box.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_tolerance(target_mesh, tolerance, options, debug=None) DynamicMesh

Simplifies the mesh to a target geometric tolerance. Stops when any further simplification would result in a deviation from the input mesh larger than the tolerance. Behavior can be additionally controlled with the Options.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_triangle_count(target_mesh, triangle_count, options, debug=None) DynamicMesh

Simplifies the mesh until a target triangle count is reached. Behavior can be additionally controlled with the Options.

Parameters:
Return type:

DynamicMesh

classmethod apply_simplify_to_vertex_count(target_mesh, vertex_count, options, debug=None) DynamicMesh

Simplifies the mesh until a target vertex count is reached. Behavior can be additionally controlled with the Options.

Parameters:
Return type:

DynamicMesh