UStaticMeshEditorSubsystem::SetGenerateLightmapUVs

Set Generate Lightmap UVs for StaticMesh