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 can I change the opacity of a sprite? [paper2d]

I can't find any sort of material editor in the interface. Is there a way to do it?

Product Version: Not Selected
Tags:
more ▼

asked Jul 25 '14 at 10:31 AM in Using UE4

avatar image

dekkuran
8 1 3 5

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

1 answer: sort voted first

There are some provided Paper2D materials that you can use. If you set your sprite's material to TranslucentUnlitSpriteMaterial, adjusting the sprite's color alpha will change opacity.

more ▼

answered Jul 25 '14 at 01:24 PM

avatar image

Warmak
26 1 1 1

avatar image dekkuran Jul 25 '14 at 01:36 PM

Thanks, Is there a way to access it in real time? I changed the defaultmaterial to take an opacity scalar. But I can't work out how to get it back in blueprint as a dynamic material that can be altered during run time.

avatar image PatTheDemon Dec 03 '18 at 08:14 PM

Get a reference to the sprite you want to change then drag off of it and type set sprite color then change the alpha value.

avatar image PatTheDemon Dec 03 '18 at 08:16 PM

alt text

capture.png (159.6 kB)
(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