unreal.DataprepSetConvexDecompositionCollisionOperation

class unreal.DataprepSetConvexDecompositionCollisionOperation(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: DataprepOperation

For each static mesh to process, replace the existing static mesh’s collision setup with a convex decomposition one computed using the Hull settings

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepLibraries

  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hull_count (int32): [Read-Write] Hull Count: Maximum number of convex pieces that will be created

  • hull_precision (int32): [Read-Write] Hull Precision: Number of voxels to use when generating collision

  • max_hull_verts (int32): [Read-Write] Max Hull Verts: Maximum number of vertices allowed for any generated convex hulls

property hull_count: int

[Read-Write] Hull Count: Maximum number of convex pieces that will be created

Type:

(int32)

property hull_precision: int

[Read-Write] Hull Precision: Number of voxels to use when generating collision

Type:

(int32)

property max_hull_verts: int

[Read-Write] Max Hull Verts: Maximum number of vertices allowed for any generated convex hulls

Type:

(int32)