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"

UI Brush with material always applies tint as color.

Hiya! I'm not sure if this is a bug or a feature request. When I apply a material to a brush in Slate or UMG, it's always tinted by Tint and Color/Opacity, even if I don't do that in the material. I would rather have that be implemented as a multiply by Vertex Color (Or possibly something like Particle Color) on the material side to be consistent with the behavior of materials elsewhere. This would also make it possible to use Vertex Color as things other than color. I would like to use it to control an animation in my material for example.

Product Version: UE 4.19
Tags:
more ▼

asked Jul 02 '18 at 08:24 PM in Using UE4

avatar image

Birblay
3 1 4 6

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

1 answer: sort voted first

Then make your own widget that behaves that way, you can place UMG widget in to UMG widget so make one that behaves as you like, remember that you can send parameters to material same as you do with mesh. Thats the point of this archtecture, when you can take ready widgets and re setup them as you like and reuse them anywhere.

In C++ you make your own widget based of UImage and you can directly manipulate behavior of color and tint varable by overriding SynchronizeProperties function, which is function that transfers UMG widget properties to Slate

http://api.unrealengine.com/INT/API/Runtime/UMG/Components/UWidget/SynchronizeProperties/index.html

only limitaion here is that you can't override SetColorAndOpacity which would complete implmentation, but you can do your own function to control it. But im not sure how animation interact with it, if it calls SynchronizeProperties it will work seamlessly. In C++ side you can also directly communicate with Slate that powers UMG.

As "Tint" name it is applying to anything that what Slate draw, it a quite low level feature so it ahrd to alter it other that overriding. By design tint should behave the same on all widgets, so it is correct behavior

more ▼

answered Jul 02 '18 at 11:02 PM

avatar image

Shadowriver
37.3k 936 172 1116

(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