unreal.GeometryScriptRemeshOptions

class unreal.GeometryScriptRemeshOptions(discard_attributes: bool = False, reproject_to_input_mesh: bool = False, smoothing_type: GeometryScriptRemeshSmoothingType = Ellipsis, smoothing_rate: float = 0.0, mesh_boundary_constraint: GeometryScriptRemeshEdgeConstraintType = Ellipsis, group_boundary_constraint: GeometryScriptRemeshEdgeConstraintType = Ellipsis, material_boundary_constraint: GeometryScriptRemeshEdgeConstraintType = Ellipsis, allow_flips: bool = False, allow_splits: bool = False, allow_collapses: bool = False, prevent_normal_flips: bool = False, prevent_tiny_triangles: bool = False, use_full_remesh_passes: bool = False, remesh_iterations: int = 0, auto_compact: bool = False)

Bases: StructBase

Standard Remeshing Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshRemeshFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_collapses (bool): [Read-Write] Allow Collapses: Enable/Disable Edge Collapses during Remeshing. Disabling Collapses will prevent the mesh density from decreasing.

  • allow_flips (bool): [Read-Write] Allow Flips: Enable/Disable Edge Flips during Remeshing. Disabling flips will significantly reduce the output mesh quality

  • allow_splits (bool): [Read-Write] Allow Splits: Enable/Disable Edge Splits during Remeshing. Disabling Splits will prevent the mesh density from increasing.

  • auto_compact (bool): [Read-Write] Auto Compact: If enabled, the output mesh is automatically compacted to remove gaps in the index space. This is expensive and can be disabled by advanced users.

  • discard_attributes (bool): [Read-Write] Discard Attributes: When enabled, all mesh attributes are discarded, so UV and Normal Seams can be freely

  • group_boundary_constraint (GeometryScriptRemeshEdgeConstraintType): [Read-Write] Group Boundary Constraint: Constraints on the mesh boundary/border edges between different PolyGroups of the Mesh

  • material_boundary_constraint (GeometryScriptRemeshEdgeConstraintType): [Read-Write] Material Boundary Constraint: Constraints on the mesh boundary/border edges between different Material Results of the Mesh

  • mesh_boundary_constraint (GeometryScriptRemeshEdgeConstraintType): [Read-Write] Mesh Boundary Constraint: Constraints on the open mesh boundary/border edges

  • prevent_normal_flips (bool): [Read-Write] Prevent Normal Flips: When Enabled, Flips and Collapses will be skipped if they would flip any triangle face normals

  • prevent_tiny_triangles (bool): [Read-Write] Prevent Tiny Triangles: When Enabled, Flips and Collapses will be skipped if they would create tiny degenerate triangles

  • remesh_iterations (int32): [Read-Write] Remesh Iterations: Maximum Number of iterations of the Remeshing Strategy to apply to the Mesh. More iterations are generally more expensive (much moreso with bUseFullRemeshPasses = true)

  • reproject_to_input_mesh (bool): [Read-Write] Reproject to Input Mesh: When enabled, mesh vertices are projected back onto the input mesh surface during Remeshing, preserving the shape

  • smoothing_rate (float): [Read-Write] Smoothing Rate: Smoothing Rate/Speed. Faster Smoothing results in a more regular mesh, but also more potential for undesirable 3D shape change and UV distortion

  • smoothing_type (GeometryScriptRemeshSmoothingType): [Read-Write] Smoothing Type: Type of 3D Mesh Smoothing to apply during Remeshing. Disable by setting SmoothingRate = 0

  • use_full_remesh_passes (bool): [Read-Write] Use Full Remesh Passes: By default, remeshing is accelerated by tracking a queue of edges that need to be processed. This is signficantly faster but can produce a lower quality output. Enable this option to use a more expensive strategy that guarantees maximum quality.

property allow_collapses: bool

[Read-Write] Allow Collapses: Enable/Disable Edge Collapses during Remeshing. Disabling Collapses will prevent the mesh density from decreasing.

Type:

(bool)

property allow_flips: bool

[Read-Write] Allow Flips: Enable/Disable Edge Flips during Remeshing. Disabling flips will significantly reduce the output mesh quality

Type:

(bool)

property allow_splits: bool

[Read-Write] Allow Splits: Enable/Disable Edge Splits during Remeshing. Disabling Splits will prevent the mesh density from increasing.

Type:

(bool)

property auto_compact: bool

[Read-Write] Auto Compact: If enabled, the output mesh is automatically compacted to remove gaps in the index space. This is expensive and can be disabled by advanced users.

Type:

(bool)

property discard_attributes: bool

[Read-Write] Discard Attributes: When enabled, all mesh attributes are discarded, so UV and Normal Seams can be freely

Type:

(bool)

property group_boundary_constraint: GeometryScriptRemeshEdgeConstraintType

[Read-Write] Group Boundary Constraint: Constraints on the mesh boundary/border edges between different PolyGroups of the Mesh

Type:

(GeometryScriptRemeshEdgeConstraintType)

property material_boundary_constraint: GeometryScriptRemeshEdgeConstraintType

[Read-Write] Material Boundary Constraint: Constraints on the mesh boundary/border edges between different Material Results of the Mesh

Type:

(GeometryScriptRemeshEdgeConstraintType)

property mesh_boundary_constraint: GeometryScriptRemeshEdgeConstraintType

[Read-Write] Mesh Boundary Constraint: Constraints on the open mesh boundary/border edges

Type:

(GeometryScriptRemeshEdgeConstraintType)

property prevent_normal_flips: bool

[Read-Write] Prevent Normal Flips: When Enabled, Flips and Collapses will be skipped if they would flip any triangle face normals

Type:

(bool)

property prevent_tiny_triangles: bool

[Read-Write] Prevent Tiny Triangles: When Enabled, Flips and Collapses will be skipped if they would create tiny degenerate triangles

Type:

(bool)

property remesh_iterations: int

[Read-Write] Remesh Iterations: Maximum Number of iterations of the Remeshing Strategy to apply to the Mesh. More iterations are generally more expensive (much moreso with bUseFullRemeshPasses = true)

Type:

(int32)

property reproject_to_input_mesh: bool

[Read-Write] Reproject to Input Mesh: When enabled, mesh vertices are projected back onto the input mesh surface during Remeshing, preserving the shape

Type:

(bool)

property smoothing_rate: float

[Read-Write] Smoothing Rate: Smoothing Rate/Speed. Faster Smoothing results in a more regular mesh, but also more potential for undesirable 3D shape change and UV distortion

Type:

(float)

property smoothing_type: GeometryScriptRemeshSmoothingType

[Read-Write] Smoothing Type: Type of 3D Mesh Smoothing to apply during Remeshing. Disable by setting SmoothingRate = 0

Type:

(GeometryScriptRemeshSmoothingType)

property use_full_remesh_passes: bool

[Read-Write] Use Full Remesh Passes: By default, remeshing is accelerated by tracking a queue of edges that need to be processed. This is signficantly faster but can produce a lower quality output. Enable this option to use a more expensive strategy that guarantees maximum quality.

Type:

(bool)