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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Is it possible to use slate widget in UMG?

Lets say I've created slate widget using c++, is there any way to use this widget in UMG?

Product Version: UE 4.9
Tags:
more ▼

asked Mar 07 '16 at 09:25 AM in C++ Programming

avatar image

Shiko777
11 1 2 93

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

1 answer: sort voted first

Hi Shiko777,

You certainly can! In fact, all of the built in UMG widgets are wrappers on slate widgets. For example, if you open up 'Border.h' you'll see that it has a pointer to an 'SBorder' instance, which is the Slate border class.

You can look at any existing UMG widget implementation for an idea of how to write your own. Variables preceded by the UPROPERTY() macro will appear in the details pane. You'll need to override SynchronizeProperties(), which will be called to feed the values back into the underlying Slate widget.

more ▼

answered Mar 07 '16 at 02:40 PM

avatar image

Cody.Albert STAFF
131 5 2 1

avatar image Shiko777 Mar 08 '16 at 09:05 AM

Thank you a lot for your answer and specially for providing example.

(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