Download

Mobile Preview via command line?

Is it possible to launch the mobile preview of a project via the command line? I found the -game switch but didn’t see any documentation as to how to possibly execute the mobile preview from it. Is there a way to inspect how the unreal editor launches the mobile previewer?

Thanks,
-jv

-FeatureLevelES2 should do the trick. The mobile preview from the editor also specifies -faketouches to make the mouse behave like touch events (not needed if your project has that globally set).


	// apply additional settings
	if (bPlayUsingMobilePreview)
	{
		AdditionalParameters += TEXT(" -featureleveles2 -faketouches");
	}

Cheers,
Michael Noland