unreal.GeometryScriptConvexHullSimplificationOptions

class unreal.GeometryScriptConvexHullSimplificationOptions(simplification_method: GeometryScriptConvexHullSimplifyMethod = Ellipsis, simplification_distance_threshold: float = 0.0, simplification_angle_threshold: float = 0.0, min_target_face_count: int = 0)

Bases: StructBase

Geometry Script Convex Hull Simplification Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: CollisionFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • min_target_face_count (int32): [Read-Write] The minimum number of faces to use for the convex hull. Note that for the MeshQSlim method all faces are triangles, while the AngleTolerance method can consider more general polygons.

  • simplification_angle_threshold (float): [Read-Write] Simplified hull should preserve angles larger than this (in degrees). Used by the AngleTolerance simplification method.

  • simplification_distance_threshold (float): [Read-Write] Simplified hull should stay within this distance of the initial convex hull. Used by the MeshQSlim simplification method.

  • simplification_method (GeometryScriptConvexHullSimplifyMethod): [Read-Write] Method to use to simplify convex hulls

property min_target_face_count: int

[Read-Write] The minimum number of faces to use for the convex hull. Note that for the MeshQSlim method all faces are triangles, while the AngleTolerance method can consider more general polygons.

Type:

(int32)

property simplification_angle_threshold: float

[Read-Write] Simplified hull should preserve angles larger than this (in degrees). Used by the AngleTolerance simplification method.

Type:

(float)

property simplification_distance_threshold: float

[Read-Write] Simplified hull should stay within this distance of the initial convex hull. Used by the MeshQSlim simplification method.

Type:

(float)

property simplification_method: GeometryScriptConvexHullSimplifyMethod

[Read-Write] Method to use to simplify convex hulls

Type:

(GeometryScriptConvexHullSimplifyMethod)