How to convert a blueprint to a C++ file ?

If it’s in your final “game” project folder then yes, put “ProceduralMeshComponent” after “InputCore” separated by a comma.

HeadMountedDisplay is for VR it’s not needed