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"

Struct Color and associated issue

Hi guys,

I was working with setting an arrow colour via the blueprint graph and I couldnt seem to find it amongst the struct list. What I tried as a work around is converting a linear colour, then I removed the linear colour input from the conversion which allowed me to use the colour picker but after selecting a colour I got a dramatic slowdown in fps down to a steady 2fps and I reproduced the issue.

I'll go ahead and use the make colour literal to see how that goes, but some people may want to make byte colour struct variables within blueprint :)

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:52 AM in Blueprint Scripting

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

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

2 answers: sort voted first

Hey Daniel,

Thanks for your report! You are absolutely right that we are missing the Color struct from our variable options! I have filed a defect report to have this struct added to our variables list.

There is a workaround in the mean time--when you have the Set ArrowColor node, if you drag off of the ArrowColor input pin, you can search for a Make Color node and put in Byte values for R/G/B/A. For the LinearColor struct, you can also drag off the input pin (color picker) and search for Make LinearColor to be able to pass in Float values for R/G/B/A.

alt text

Hope this helps you out!

Thanks!

-Steve

makenodes.jpg (94.8 kB)
more ▼

answered Mar 11 '14 at 02:52 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:52 AM

Thanks for that, the other issue Im having seems to be related to the realtime button and colour picker but I still havent been able to narrow it down so when I get a better idea of whats causing it I'll make a new thread :)

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

While I can't see any reason not to include FColor as a struct as well,

I can offer you this as a solution!

There is a LinearColor to Color converter

enjoy!

alt text

more ▼

answered Mar 11 '14 at 02:52 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 1999 9124

(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