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"

Does Unreal have a way of displaying color which inherits a color per character akin to *nix terminals for UI with autoscroll or carriage-return?

alt text

I'm writing a terminal prompt and I'm wondering if a way exists to feed individual characters a color value that Unreal can parse or understand. My knowledge of programming is pretty much limited to Blueprints (you may laugh) but I'm having an incredible amount of fun.

I get that I'm going to have to write a buffer to make the text autoscroll, with each marker in the buffer being a value from an array, but I'm wondering if its possible to create highlight text or change the color of the text or the highlight within the UI widget system of Unreal.

To clarify, this isn't being used to print text for debugging (I do that separately) but for game-play purposes with the capacity to act as an input field and receive simple commands as a pretend prompt.

If not, how would you go about this?

Also, is there a way to disable text anti-aliasing for a text-box object in Unreal? Thanks.

Product Version: UE 4.16
more ▼

asked Jul 18 '17 at 10:19 PM in Everything Else

avatar image

23 1 5 8

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

1 answer: sort voted first

you can set the color of each text block, using SetColorAndOpacity. if you want one word to have different colored letters, each color change will have to be a separate text block, added to the container. if you want word wrap/ carriage return, you can use a wrap box. otherwise, you can use a horizontal box.

more ▼

answered Jul 19 '17 at 04:10 AM

avatar image

9.6k 320 205 450

avatar image Osakanone Jul 25 '17 at 02:26 AM

So basically the same as using different cells on a display. Makes sense actually. Thank-you, thats quite clever.

(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