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