unreal.DataprepSetConvexDecompositionCollisionOperation
¶
- class unreal.DataprepSetConvexDecompositionCollisionOperation(outer=None, name='None')¶
Bases:
unreal.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 createdhull_precision
(int32): [Read-Write] Hull Precision: Number of voxels to use when generating collisionmax_hull_verts
(int32): [Read-Write] Max Hull Verts: Maximum number of vertices allowed for any generated convex hulls
- property hull_count¶
[Read-Write] Hull Count: Maximum number of convex pieces that will be created
- Type
(int32)
- property hull_precision¶
[Read-Write] Hull Precision: Number of voxels to use when generating collision
- Type
(int32)
- property max_hull_verts¶
[Read-Write] Max Hull Verts: Maximum number of vertices allowed for any generated convex hulls
- Type
(int32)