unreal.GeometryScriptCollisionFromMeshOptions

class unreal.GeometryScriptCollisionFromMeshOptions(emit_transaction: bool = False, method: GeometryScriptCollisionGenerationMethod = Ellipsis, auto_detect_spheres: bool = False, auto_detect_boxes: bool = False, auto_detect_capsules: bool = False, min_thickness: float = 0.0, simplify_hulls: bool = False, convex_hull_target_face_count: int = 0, max_convex_hulls_per_mesh: int = 0, convex_decomposition_search_factor: float = 0.0, convex_decomposition_error_tolerance: float = 0.0, convex_decomposition_min_part_thickness: float = 0.0, swept_hull_simplify_tolerance: float = 0.0, swept_hull_axis: GeometryScriptSweptHullAxis = Ellipsis, remove_fully_contained_shapes: bool = False, max_shape_count: int = 0)

Bases: StructBase

Geometry Script Collision from Mesh Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: CollisionFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_detect_boxes (bool): [Read-Write] Auto Detect Boxes

  • auto_detect_capsules (bool): [Read-Write] Auto Detect Capsules

  • auto_detect_spheres (bool): [Read-Write] Auto Detect Spheres

  • convex_decomposition_error_tolerance (float): [Read-Write] Convex Decomposition Error Tolerance

  • convex_decomposition_min_part_thickness (float): [Read-Write] Convex Decomposition Min Part Thickness

  • convex_decomposition_search_factor (float): [Read-Write] Convex Decomposition Search Factor

  • convex_hull_target_face_count (int32): [Read-Write] Convex Hull Target Face Count

  • emit_transaction (bool): [Read-Write] Emit Transaction

  • max_convex_hulls_per_mesh (int32): [Read-Write] Max Convex Hulls Per Mesh

  • max_shape_count (int32): [Read-Write] Max Shape Count

  • method (GeometryScriptCollisionGenerationMethod): [Read-Write] Method

  • min_thickness (float): [Read-Write] Min Thickness

  • remove_fully_contained_shapes (bool): [Read-Write] Remove Fully Contained Shapes

  • simplify_hulls (bool): [Read-Write] Simplify Hulls

  • swept_hull_axis (GeometryScriptSweptHullAxis): [Read-Write] Swept Hull Axis

  • swept_hull_simplify_tolerance (float): [Read-Write] Swept Hull Simplify Tolerance

property auto_detect_boxes: bool

[Read-Write] Auto Detect Boxes

Type:

(bool)

property auto_detect_capsules: bool

[Read-Write] Auto Detect Capsules

Type:

(bool)

property auto_detect_spheres: bool

[Read-Write] Auto Detect Spheres

Type:

(bool)

property convex_decomposition_error_tolerance: float

[Read-Write] Convex Decomposition Error Tolerance

Type:

(float)

property convex_decomposition_min_part_thickness: float

[Read-Write] Convex Decomposition Min Part Thickness

Type:

(float)

property convex_decomposition_search_factor: float

[Read-Write] Convex Decomposition Search Factor

Type:

(float)

property convex_hull_target_face_count: int

[Read-Write] Convex Hull Target Face Count

Type:

(int32)

property emit_transaction: bool

[Read-Write] Emit Transaction

Type:

(bool)

property max_convex_hulls_per_mesh: int

[Read-Write] Max Convex Hulls Per Mesh

Type:

(int32)

property max_shape_count: int

[Read-Write] Max Shape Count

Type:

(int32)

property method: GeometryScriptCollisionGenerationMethod

[Read-Write] Method

Type:

(GeometryScriptCollisionGenerationMethod)

property min_thickness: float

[Read-Write] Min Thickness

Type:

(float)

property remove_fully_contained_shapes: bool

[Read-Write] Remove Fully Contained Shapes

Type:

(bool)

property simplify_hulls: bool

[Read-Write] Simplify Hulls

Type:

(bool)

property swept_hull_axis: GeometryScriptSweptHullAxis

[Read-Write] Swept Hull Axis

Type:

(GeometryScriptSweptHullAxis)

property swept_hull_simplify_tolerance: float

[Read-Write] Swept Hull Simplify Tolerance

Type:

(float)