/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h
Change the allowed orientation of the device.
static void SetAllowedDeviceOrientation ( EDeviceScreenOrientation NewAllowedDeviceOrientation )