When FLinearColor is used inside slate code, the third vector value is ignored. This causes FLinearColor(1,1,1) to produce the same color as FLinearColor(1,1,0). This also causes FLinearColor::Blue to appear black instead (b/c FLinearColor(0,0,1) is the same as FLinearColor(0,0,0) ).
This has only reproduced in slate code. Using the code (or BP node) for Print string, which also takes an FLinearColor, will correctly display blue.
Result:
Colors in the widget are Red (set at line 101) Green (line 121) and Black (line 141)
Expected:
Colors show as Magenta, Cyan, and Blue.
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Editor - UI Systems - Slate |
---|---|
Affects Versions | 4.14.3, 4.15 |
Created | Jan 17, 2017 |
---|---|
Resolved | Jan 17, 2017 |
Updated | Apr 27, 2018 |