VhacdSettings

constructor(concavity: Double = 0.01, alpha: Double = 0.05, beta: Double = 0.05, resolution: Int = 64, planeDownsampling: Int = 4, convexHullDownsampling: Int = 4, fillMode: VhacdSettings.FillMode = FillMode.FloodFill(), convexHullApproximation: Boolean = true, maxConvexHulls: Int = 1024)

Parameters

concavity

Maximum concavity (0.0 to 1.0)

alpha

Bias towards clipping along symmetry planes (0.0 to 1.0)

beta

Bias towards clipping along revolution planes (0.0 to 1.0)

resolution

Resolution used during voxelization (minimum 0)

planeDownsampling

Granularity of the search for the best clipping plane (minimum 0)

convexHullDownsampling

Precision of convex-hull generation during the clipping plane selection stage (minimum 0)

fillMode

The way the input mesh gets voxelized

convexHullApproximation

Whether the convex-hull should be approximated during decomposition. Setting to true increases performance with a slight degradation of decomposition quality.

maxConvexHulls

Max number of convex hulls generated by decomposition (minimum 0)