x

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"

Is there a way to differ ipad air and iphone6 in blueprints?

I want to use to 2 different material model for ipad air and iphone 6 plus,for ipad air use opaque and for iphone 6 plus use translucent?How can I achieve that?Thanks!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 03 '15 at 08:08 AM in Blueprint Scripting

avatar image

hls333555
401 63 80 107

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

2 answers: sort voted first

I've asked this in the past with no success however recently saw device profiles can be setup for each iOS type.

more ▼

answered Sep 03 '15 at 09:31 PM

avatar image

theonecalledtom
1.3k 61 70 271

avatar image hls333555 Sep 04 '15 at 01:11 AM

Could you please be specific?How can I set up in deviceprofile to select different materials?Thank you very much!

avatar image theonecalledtom Sep 04 '15 at 05:10 AM

Not really :)

I've used confit variables in c++ but not blueprint. Looks like these device profiles are just device specific config overrides but I haven't delved.

It sound like you can also setup actor config variables (https://answers.unrealengine.com/questions/199529/how-to-configure-ini-file-value-for-a-blueprint-co.html) so I would imagine you set one of these up, specialise the value per device type and do a bit of blueprint based branching to select your material.

Good luck :)

avatar image hls333555 Sep 04 '15 at 06:49 AM

Thanks!That really a great method,but since that it restricts the ini file to DefaultEngine.ini,I know that I can specify different settings for different devices in DefaultDeviceProfiles.ini, maybe I cannot specify that in the DefalutEngine.ini. Is there a way to communicate between the DefalutEngine.ini adn the DefaultDeviceProfiles.ini?Thank you again!

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

Get active device profile name ----> switch on string

more ▼

answered Jul 01 '19 at 01:21 PM

avatar image

HullzAngel
96 5 5

(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