Component image 
VHACD Dialog component as seen in the Scene Inspector

The VHACD_Dialog component or V-HACD 2.0 dialog, is used to do a convex hull decomposition on a mesh to make the collision simpler and more performant.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
TargetCollider
|
MeshCollider | The collider to simplify. |
MergeDoubles
|
Checkbox | Whether to merge double vertices. |
Resolution
|
IntTextEditorParser | maximum number of voxels generated during the voxelization stage |
Depth
|
IntTextEditorParser | maximum number of clipping stages. During each split stage, all the model parts (with a concavity higher than the user defined threshold) are clipped according the "best" clipping plane |
Concavity
|
FloatTextEditorParser | maximum concavity |
PlaneDownsampling
|
IntTextEditorParser | controls the granularity of the search for the "best" clipping plane |
ConvexHullDownsampling
|
IntTextEditorParser | controls the precision of the convex-hull generation process during the clipping plane selection stage |
Alpha
|
FloatTextEditorParser | controls the bias toward clipping along symmetry planes |
Beta
|
FloatTextEditorParser | controls the bias toward clipping along revolution axes |
Gamma
|
FloatTextEditorParser | maximum allowed concavity during the merge stage |
Delta
|
FloatTextEditorParser | Controls the bias toward maximizing local concavity |
PCA
|
Checkbox | enable/disable normalizing the mesh before applying the convex decomposition |
Mode
|
DecompositionMode | how to base the approximate convex decomposition |
MaxVerticesPerHull
|
IntTextEditorParser | controls the maximum number of vertices per convex-hull |
MinVolumePerHull
|
FloatTextEditorParser | controls the adaptive sampling of the generated convex-hulls |
ConvexHullApproximation
|
Checkbox | Approximate the convex hulls. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
RunDecomposition:ButtonEventHandler
|
ButtonEventHandler | ✓ | Activates and starts running the decomposition. |
RemoveVisuals:ButtonEventHandler
|
ButtonEventHandler | ✓ | Removes the generated visuals after making a convex hull decomposition. |
RemoveHulls:ButtonEventHandler
|
ButtonEventHandler | ✓ | Delete any generated hulls. |