Unreal Engine Var console variable.
r.Editor.NewLevelGrid [value]
Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.