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"

How to create a custom UMG widget?

Hi, I have never done this and I have actually been searching the internet for a logical explanation how to create custom UMG components that would show up in the Widget Editor Palette that you could then drag and throw in your widget.

Product Version: UE 4.20
Tags:
more ▼

asked Nov 01 '18 at 11:20 PM in C++ Programming

avatar image

NijoMeister
70 9 10 16

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

2 answers: sort voted first

Any widget that you create will automatically be added to the palette that can be added and used an any other widget. They will be under the category of something like “user widgets”

more ▼

answered Nov 03 '18 at 10:04 PM

avatar image

Steve SybrSyn
1.5k 4 5 9

avatar image NijoMeister Nov 04 '18 at 01:12 PM

What about the render side of the widget?

avatar image Steve SybrSyn Nov 05 '18 at 06:52 PM

Im not sure what you mean? You can change the visibility of user widgets you add to another widget and control when they render with logic.

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

If you want to create a Slate widget you have to make an SWidget with a UWidget counterpart in C++. Or you can just make a UUserWidget in C++ if you don't need to actually build the layout of the widget in C++.

more ▼

answered Nov 03 '18 at 10:08 PM

avatar image

Cobryis
472 33 18 47

(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