How to add Auto Convex Collision to a ustaticmesh in c++

I learnt how to add highly accurate collision to a mesh using the tutorial at Setting Up Collisions With Static Meshes in Unreal Engine | Unreal Engine 5.1 Documentation within in the editor. I want to use auto convex collision and set convex decomposition accuracy and max hull verts in c++. Anyone know how to do this?