Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Multiple text color/styles in a single Text2D node?

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
robertwinter
Posts: 49
Joined: 27 Nov 2012, 21:53

Multiple text color/styles in a single Text2D node?

Post by robertwinter » 11 Jan 2015, 22:41

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?

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

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

Post by lerou » 11 Jan 2015, 23:17

check out the enriched text block.

cheers,
rou

Post Reply