mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 20:23:47 -04:00
comments
This commit is contained in:
parent
575bb997f5
commit
c8bf4d6137
@ -872,13 +872,16 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
self.eventMgr.shutdown()
|
self.eventMgr.shutdown()
|
||||||
|
|
||||||
def getBackgroundColor(self):
|
def getBackgroundColor(self):
|
||||||
""" Returns the current window background color. This assumes
|
"""
|
||||||
|
Returns the current window background color. This assumes
|
||||||
the window is set up to clear the color each frame (this is
|
the window is set up to clear the color each frame (this is
|
||||||
the normal setting). """
|
the normal setting).
|
||||||
|
"""
|
||||||
return VBase4(self.win.getClearColor())
|
return VBase4(self.win.getClearColor())
|
||||||
|
|
||||||
def setBackgroundColor(self, *args):
|
def setBackgroundColor(self, *args):
|
||||||
""" Sets the window background color to the indicated value.
|
"""
|
||||||
|
Sets the window background color to the indicated value.
|
||||||
This assumes the window is set up to clear the color each
|
This assumes the window is set up to clear the color each
|
||||||
frame (this is the normal setting).
|
frame (this is the normal setting).
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user