unreal.GeometryScriptAdaptiveTessellationOptions

class unreal.GeometryScriptAdaptiveTessellationOptions(enable_tessellation: bool = False, error_tolerance: float = 0.0, error_mode: GeometryScriptTessellationErrorMode = Ellipsis, feature_sensitivity: float = 0.0, mesh_optimization: bool = False, coplanarity: float = 0.0)

Bases: StructBase

Geometry Script Adaptive Tessellation Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshDeformFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • coplanarity (float): [Read-Write] Value between 0 and 1 to control how coplanar faces adjacent to an edge need to be to allow edge flips. This should rarely need to be modified.

  • enable_tessellation (bool): [Read-Write]

  • error_mode (GeometryScriptTessellationErrorMode): [Read-Write] Control whether error criterion is related to world units (absolute) or object bounds (relative).

  • error_tolerance (float): [Read-Write] Primary parameter to controlling tessellation detail when using adaptive tessellation (lower values produce finer meshes). When mode is absolute, correspond to world units error.

  • feature_sensitivity (float): [Read-Write] Value between 0 and 1 to control the amount of curvature sensitive refinement for approximation of high-frequency details.

  • mesh_optimization (bool): [Read-Write] Whether to apply some mesh regularization as a post-process, to counter stretching or skinny triangles.

property coplanarity: float

[Read-Write] Value between 0 and 1 to control how coplanar faces adjacent to an edge need to be to allow edge flips. This should rarely need to be modified.

Type:

(float)

property enable_tessellation: bool

[Read-Write]

Type:

(bool)

property error_mode: GeometryScriptTessellationErrorMode

[Read-Write] Control whether error criterion is related to world units (absolute) or object bounds (relative).

Type:

(GeometryScriptTessellationErrorMode)

property error_tolerance: float

[Read-Write] Primary parameter to controlling tessellation detail when using adaptive tessellation (lower values produce finer meshes). When mode is absolute, correspond to world units error.

Type:

(float)

property feature_sensitivity: float

[Read-Write] Value between 0 and 1 to control the amount of curvature sensitive refinement for approximation of high-frequency details.

Type:

(float)

property mesh_optimization: bool

[Read-Write] Whether to apply some mesh regularization as a post-process, to counter stretching or skinny triangles.

Type:

(bool)