unreal.GeometryScriptCollisionFromMeshOptions

class unreal.GeometryScriptCollisionFromMeshOptions(emit_transaction=True, method=GeometryScriptCollisionGenerationMethod.MIN_VOLUME_SHAPES, auto_detect_spheres=True, auto_detect_boxes=True, auto_detect_capsules=True, min_thickness=1.0, simplify_hulls=True, convex_hull_target_face_count=25, swept_hull_simplify_tolerance=0.1, swept_hull_axis=GeometryScriptSweptHullAxis.Z, remove_fully_contained_shapes=True, max_shape_count=0)

Bases: unreal.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_hull_target_face_count (int32): [Read-Write] Convex Hull Target Face Count

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

  • 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

[Read-Write] Auto Detect Boxes

Type

(bool)

property auto_detect_capsules

[Read-Write] Auto Detect Capsules

Type

(bool)

property auto_detect_spheres

[Read-Write] Auto Detect Spheres

Type

(bool)

property convex_hull_target_face_count

[Read-Write] Convex Hull Target Face Count

Type

(int32)

property emit_transaction

[Read-Write] Emit Transaction

Type

(bool)

property max_shape_count

[Read-Write] Max Shape Count

Type

(int32)

property method

[Read-Write] Method

Type

(GeometryScriptCollisionGenerationMethod)

property min_thickness

[Read-Write] Min Thickness

Type

(float)

property remove_fully_contained_shapes

[Read-Write] Remove Fully Contained Shapes

Type

(bool)

property simplify_hulls

[Read-Write] Simplify Hulls

Type

(bool)

property swept_hull_axis

[Read-Write] Swept Hull Axis

Type

(GeometryScriptSweptHullAxis)

property swept_hull_simplify_tolerance

[Read-Write] Swept Hull Simplify Tolerance

Type

(float)