/Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h
Add a convex collision to a static mesh. Any existing collisions will be removed from the static mesh. This method replicates what is done when invoking menu entry "Collision > Auto Convex Collision" in the Mesh Editor.
A boolean indicating if the addition was successful or not.
bool SetConvexDecompositionCollisionsWithNotification ( [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * StaticMesh, int32 HullCount, int32 MaxHullVerts, int32 HullPrecision, bool bApplyChanges )