/Engine/Source/Editor/StaticMeshEditor/Public/StaticMeshEditorSubsystem.h
Set Generate Lightmap UVs for StaticMesh
bool SetGenerateLightmapUVs ( [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * StaticMesh, bool bGenerateLightmapUVs )