Posts: 28
Threads: 9
Joined: Jun 2015
Reputation:
0
the object shows ! but not invisible and text show in object !
Posts: 153
Threads: 6
Joined: Nov 2014
Reputation:
0
@Adrianos
Mostly the object has more than one index. Look at my image. This triangle is your object, with 3 indexes. You want to show the text on index 1. The blue bar. Inside your code you have to select the right index, otherwise it wont show correctly. The index is called "materialindex".
You can find out the index by testing around.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Ok, you need to be more specific.
Perhaps:
Do you want the object to have text on one of it's material indexes (see GangstaSunny's post)?
Using this function will replace all of the faces that have the specified material inex on the object.
Do you want the text background to be transparent? The color is in 0xAARRGGBB, not 0xRRGGBBAA.
Posts: 28
Threads: 9
Joined: Jun 2015
Reputation:
0
yes i want background transparent .
Posts: 153
Threads: 6
Joined: Nov 2014
Reputation:
0
If i will trust the wiki, you just have to set the background color to 0. Its standard and transparent.