Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Getting Screen Orientation

What is the method to find the screen orientation of a mobile device?

The project requires different device profiles to have different screen orientations (which I understand may be possible) but can the device itself then be found through blueprints?


Product Version: UE 4.9 Preview
more ▼

asked Aug 17 '15 at 11:50 AM in Using UE4

avatar image

40 1 4 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


Unreal Engine detect the device screen orientation on a hardware level that is not exposed to blueprints by default. And you need self add custom C++ code for access from blueprint.

more ▼

answered Aug 17 '15 at 12:43 PM

avatar image

8.4k 254 42 399

avatar image creativestate Aug 17 '15 at 01:38 PM

Thanks for the info.

Before going ahead with that, is it possible to detect the current device profile from blueprints? i.e. If the user is on an iPad or an iPhone

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question