Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
MeshConvexDecompositionSettings¶
Inherits: RefCounted < Object
Parameters to be used with a Mesh convex decomposition operation.
Description¶
Parameters to be used with a Mesh convex decomposition operation.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Enumerations¶
enum Mode:
Mode CONVEX_DECOMPOSITION_MODE_VOXEL = 0
Constant for voxel-based approximate convex decomposition.
Mode CONVEX_DECOMPOSITION_MODE_TETRAHEDRON = 1
Constant for tetrahedron-based approximate convex decomposition.
Property Descriptions¶
bool convex_hull_approximation = true
If enabled uses approximation for computing convex hulls.
int convex_hull_downsampling = 4
Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from 1
to 16
.
float max_concavity = 1.0
Maximum concavity. Ranges from 0.0
to 1.0
.
int max_convex_hulls = 1