/Engine/Source/Runtime/Engine/Classes/Kismet/BlueprintPlatformLibrary.h
Returns the current orientation of the device: will be either Portrait, LandscapeLeft, PortraitUpsideDown or LandscapeRight.
An EDeviceScreenOrientation value.
static [EScreenOrientation::Type](API\Runtime\Engine\Kismet\EScreenOrientation__Type) GetDeviceOrientation()