MathAlgorithmsConvexDecompose Method |
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static ConvexDecompositionCluster[] ConvexDecompose(
Vector3F[] vertices,
int[] indices,
int maxConvexHulls,
int maxConvexTriangles = 64,
double minConvexVolume = 0.0001,
bool convexApproximation = true,
int maxResolution = 100000,
double maxConcavity = 0.0025,
double alpha = 0.05,
double beta = 0.05,
int planeDownsampling = 4,
int hullDownsampling = 4,
bool normalizeMesh = false,
bool tetrahedronMode = false
)
Parameters
- vertices Vector3F
-
- indices Int32
-
- maxConvexHulls Int32
-
- maxConvexTriangles Int32 (Optional)
-
- minConvexVolume Double (Optional)
-
- convexApproximation Boolean (Optional)
-
- maxResolution Int32 (Optional)
-
- maxConcavity Double (Optional)
-
- alpha Double (Optional)
-
- beta Double (Optional)
-
- planeDownsampling Int32 (Optional)
-
- hullDownsampling Int32 (Optional)
-
- normalizeMesh Boolean (Optional)
-
- tetrahedronMode Boolean (Optional)
-
Return Value
ConvexDecompositionCluster
See Also