Page 1 of 1

Multiple text color/styles in a single Text2D node?

Posted: 11 Jan 2015, 22:41
by robertwinter
I need to change the color of certain words in a single Text2D node. For example, maybe I want to colorize each word that names a color. I've enabled the TreatAsXML in the BlockText node, but it just ignores the tags.

I tried "This is <font color="#0000ff">blue</font> and this is <font color="#00ff00">green</font>" but it does not work as expected. Is there any way to accomplish this?

Re: Multiple text color/styles in a single Text2D node?

Posted: 11 Jan 2015, 23:17
by lerou
check out the enriched text block.

cheers,
rou