Class MeshConvexDecompositionSettings
Parameters to be used with a Mesh convex decomposition operation.
- Inheritance
-
MeshConvexDecompositionSettings
Remarks
Parameters to be used with a Mesh convex decomposition operation.
Properties
convex_hull_approximation
If true
, uses approximation for computing convex hulls.
var convex_hull_approximation : bool = true
Property Value
Remarks
convex_hull_downsampling
Controls the precision of the convex-hull generation process during the clipping plane selection stage. Ranges from 1
to 16
.
var convex_hull_downsampling : int = 4
Property Value
Remarks
max_concavity
Maximum concavity. Ranges from 0.0
to 1.0
.
var max_concavity : float = 1.0
Property Value
Remarks
max_convex_hulls
The maximum number of convex hulls to produce from the merge operation.
var max_convex_hulls : int = 1
Property Value
Remarks
max_num_vertices_per_convex_hull
Controls the maximum number of triangles per convex-hull. Ranges from 4
to 1024
.
var max_num_vertices_per_convex_hull : int = 32
Property Value
Remarks
min_volume_per_convex_hull
Controls the adaptive sampling of the generated convex-hulls. Ranges from 0.0
to 0.01
.
var min_volume_per_convex_hull : float = 0.0001
Property Value
Remarks
mode
Mode for the approximate convex decomposition.
var mode : int = 0
Property Value
Remarks
normalize_mesh
If true
, normalizes the mesh before applying the convex decomposition.
var normalize_mesh : bool = false
Property Value
Remarks
plane_downsampling
Controls the granularity of the search for the "best" clipping plane. Ranges from 1
to 16
.
var plane_downsampling : int = 4
Property Value
Remarks
project_hull_vertices
If true
, projects output convex hull vertices onto the original source mesh to increase floating-point accuracy of the results.
var project_hull_vertices : bool = true
Property Value
Remarks
resolution
Maximum number of voxels generated during the voxelization stage.
var resolution : int = 10000
Property Value
Remarks
revolution_axes_clipping_bias
Controls the bias toward clipping along revolution axes. Ranges from 0.0
to 1.0
.
var revolution_axes_clipping_bias : float = 0.05
Property Value
Remarks
symmetry_planes_clipping_bias
Controls the bias toward clipping along symmetry planes. Ranges from 0.0
to 1.0
.
var symmetry_planes_clipping_bias : float = 0.05