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"

Display widget blueprint on in-game screen

I'm visualizing a touch screen in UE so I want to place my user interface on an in game screen. I've created "my widget" in a Widget Blueprint. I then created a blueprint actor class and added a widget component to it. For the widget component I've chosen the following:

Materials: Element 0 --> Widget3DPassThrough_Masked_OneSided

UI: Space --> world, Widget class --> "my widget"

alt text

It doesn't appear the right way though. I can see some of the letters from my UI but it's all twisted. Not sure if I should use another choice under Element 0, if I need to change settings for my WidgetBP or what.

Can anybody help, please?

Product Version: UE 4.20
Tags:
capture.png (31.9 kB)
more ▼

asked Nov 27 '18 at 04:13 PM in Blueprint Scripting

avatar image

idafr
1 1 1

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Make sure the WidgetBP draw size matches the widget canvas size or parts will be cropped. Yours is currently set to 500

more ▼

answered Nov 27 '18 at 04:40 PM

avatar image

xadamxful
47 1 5 12

avatar image idafr Dec 02 '18 at 04:11 PM

Thanks! Do you know if/how I can attach it to a material/mesh though?

(comments are locked)
10|2000 characters needed characters left

You can attach it in your blueprint either by dragging it onto a mesh in the components tab or by having it attach based on some event in your blueprint graph

alt text

option-1.png (14.4 kB)
option-2.png (63.1 kB)
more ▼

answered Dec 02 '18 at 04:35 PM

avatar image

xadamxful
47 1 5 12

(comments are locked)
10|2000 characters needed characters left
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