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"

Change image in UMG animation in blueprints

I can't for the life of me find a solution for this. I want to change the image in a brush in a UMG menu in real time, at certain random intervals. But, I can't find out how to even access the 'Image' property of a brush in blueprints, only the brush itself. Is there any way to access this? Also, is there any way to get a reference to a texture used as the image as well? I want to use it for checking, since I want to toggle between 2 images.

Bonus Question: Why isn't there a way to add a key to the animation timeline for images in a brush as well?

Product Version: UE 4.9
Tags:
more ▼

asked Sep 24 '15 at 10:28 PM in Blueprint Scripting

avatar image

Rael5
122 13 19 30

avatar image NamInUz Jan 22 '19 at 10:15 AM

I'm also interested in this

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

1 answer: sort voted first

Once you have the Image, drag off "Get Brush."

After that, you can access the existing Brush/Image through "Get Brush Resource," "Get Brush Resource as Material" or "Get Brush Resource as Texture2D."

And similarly, you can set it using "Set Brush Resource to Texture" or "Set Brush Resource to Material."

Hope that helps!

more ▼

answered Jan 22 '19 at 11:59 AM

avatar image

Jawdy
361 2 4 6

(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