Two commands make the same.


I was looking that these two lines make the same…,1,1,1))


both work, what is the difference.

If you look at the definition of base.setBackgroundColor() (in direct/src/showbase/, you’ll see something like this:

    def setBackgroundColor(self, r, g, b, a = 0):, g, b, a))

(It’s actually a bit more than that, but it’s just to deal with a variety of different inputs.)

So, the answer is, they’re exactly the same.


all right, thanks!