Hi,
How would I change the fill color and outline color of a label in code?
I already looked at THIS, but it’s confusing…
Thanks!
Jesse
Hi,
How would I change the fill color and outline color of a label in code?
I already looked at THIS, but it’s confusing…
Thanks!
Jesse
Have below code which compiles but does not change the colors of the label:
label.set_text( “#MouseXY”, “color”, vmath.vector4(1, 1, 1, 1) )
label.set_text( “#MouseXY”, “outline”, vmath.vector4(0, 0, 0, 1) )
Any ideas?
Use go.set
Ok, finally got it…
go.set( “#MouseXY”, “color”, vmath.vector4(0, 0, 0, 1) )
go.set( “#MouseXY”, “outline”, vmath.vector4(1, 1, 1, 1) )