# ShowBase

from direct.showbase.ShowBase import ShowBase

## Inheritance:

ShowBase:

## Methods of ShowBase:

__audioLoop
__collisionLoop
__dataLoop
__doStartDirect
__igLoop
__init__
__ivalLoop
__resetPrevTransform
__shadowCollisionLoop
__windowEvent
_movieTask
addAngularIntegrator
addSfxManager
backfaceCullingOff
backfaceCullingOn
changeMouseInterface
closeWindow
createBaseAudioManagers
createStats
destroy
disableAllAudio
disableMouse
disableParticles
enableAllAudio
enableMouse
enableMusic
enableParticles
enableSoftwareMousePointer
enableSoundEffects
exitfunc
finalizeExit
getAlt
getAspectRatio
getBackgroundColor
getControl
getExitErrorCode
getMeta
getShift
initShadowTrav
isMainWindowOpen
isParticleMgrEnabled
isPhysicsMgrEnabled
loadMusic
loadSfx
makeAllPipes
makeCamera
makeCamera2d
makeCamera2dp
makeDefaultPipe
movie
oobe
oobeCull
openDefaultWindow
openMainWindow
openWindow
playMusic
playSfx
popCTrav
printEnvDebugInfo
profileFrames
pushCTrav
removeCameraFrustum
restart
reviveInput
run
saveCubeMap
saveSphereMap
screenshot
SetAllSfxEnables
setBackgroundColor
setFrameRateMeter
setMouseOnNode
setSleep
setupDataGraph
setupMouse
setupRender
setupRender2d
setupRender2dp
setupWindowControls
showCameraFrustum
shutdown
silenceInput
sleepCycleTask
startDirect
startTk
startWx
textureOff
textureOn
toggleBackface
toggleParticles
toggleTexture
toggleWireframe
updateManagers
useDrive
userExit
useTrackball
wireframeOff
wireframeOn

__audioLoop def __audioLoop(self, state) Undocumented function.

__collisionLoop def __collisionLoop(self, state) Undocumented function.

__dataLoop def __dataLoop(self, state) Undocumented function.

__doStartDirect def __doStartDirect(self) Undocumented function.

__igLoop def __igLoop(self, state) Undocumented function.

__init__ def __init__(self) Undocumented function.

__ivalLoop def __ivalLoop(self, state) Undocumented function.

__resetPrevTransform def __resetPrevTransform(self, state) Undocumented function.

__shadowCollisionLoop def __shadowCollisionLoop(self, state) Undocumented function.

__windowEvent def __windowEvent(self, win) Undocumented function.

_movieTask def _movieTask(self, state) Undocumented function.

addAngularIntegrator def addAngularIntegrator(self) Undocumented function.

addSfxManager def addSfxManager(self, extraSfxManager) Undocumented function.

backfaceCullingOff def backfaceCullingOff(self) Undocumented function.

backfaceCullingOn def backfaceCullingOn(self) Undocumented function.

changeMouseInterface def changeMouseInterface(self, changeTo) Undocumented function.

closeWindow def closeWindow(self, win, keepCamera=0) Undocumented function.

createBaseAudioManagers def createBaseAudioManagers(self) Undocumented function.

createStats def createStats(self, hostname=None, port=None) Undocumented function.

destroy def destroy(self) Undocumented function.

disableAllAudio def disableAllAudio(self) Undocumented function.

disableMouse def disableMouse(self) Undocumented function.

disableParticles def disableParticles(self) Undocumented function.

enableAllAudio def enableAllAudio(self) Undocumented function.

enableMouse def enableMouse(self) Undocumented function.

enableMusic def enableMusic(self, bEnableMusic) Undocumented function.

enableParticles def enableParticles(self) Undocumented function.

enableSoftwareMousePointer def enableSoftwareMousePointer(self) Undocumented function.

enableSoundEffects def enableSoundEffects(self, bEnableSoundEffects) Undocumented function.

exitfunc def exitfunc(self) Undocumented function.

finalizeExit def finalizeExit(self) Undocumented function.

getAlt def getAlt(self) Undocumented function.

getAspectRatio def getAspectRatio(self, win=None) Undocumented function.

getBackgroundColor def getBackgroundColor(self, win=None) Undocumented function.

getControl def getControl(self) Undocumented function.

getExitErrorCode def getExitErrorCode(self) Undocumented function.

getMeta def getMeta(self) Undocumented function.

getShift def getShift(self) Undocumented function.

initShadowTrav def initShadowTrav(self) Undocumented function.

isMainWindowOpen def isMainWindowOpen(self) Undocumented function.

isParticleMgrEnabled def isParticleMgrEnabled(self) Undocumented function.

isPhysicsMgrEnabled def isPhysicsMgrEnabled(self) Undocumented function.

loadMusic def loadMusic(self, name) Undocumented function.

loadSfx def loadSfx(self, name) Undocumented function.

makeAllPipes def makeAllPipes(self) Undocumented function.

makeCamera def makeCamera(self, win, sort=0, scene=None, displayRegion=(0, 1, 0, 1), stereo=None, aspectRatio=None, clearDepth=0, clearColor=None, lens=None, camName='cam', mask=None, useCamera=None) Undocumented function.

makeCamera2d def makeCamera2d(self, win, sort=10, displayRegion=(0, 1, 0, 1), coords=(-1, 1, -1, 1), lens=None, cameraName=None) Undocumented function.

makeCamera2dp def makeCamera2dp(self, win, sort=20, displayRegion=(0, 1, 0, 1), coords=(-1, 1, -1, 1), lens=None, cameraName=None) Undocumented function.

makeDefaultPipe def makeDefaultPipe(self) Undocumented function.

movie def movie(self, namePrefix='movie', duration=1.0, fps=30, format='png', sd=4, source=None) Undocumented function.

oobe def oobe(self) Undocumented function.

oobeCull def oobeCull(self) Undocumented function.

openDefaultWindow def openDefaultWindow(self, *args, **kw) Undocumented function.

openMainWindow def openMainWindow(self, *args, **kw) Undocumented function.

openWindow def openWindow(self, props=None, pipe=None, gsg=None, type=None, name=None, size=None, aspectRatio=None, makeCamera=1, keepCamera=0, scene=None, stereo=None, rawmice=0) Undocumented function.

playMusic def playMusic(self, music, looping=0, interrupt=1, volume=None, time=0.0) Undocumented function.

playSfx def playSfx(self, sfx, looping=0, interrupt=1, volume=None, time=0.0, node=None, listener=None, cutoff=None) Undocumented function.

popCTrav def popCTrav(self) Undocumented function.

printEnvDebugInfo def printEnvDebugInfo(self) Undocumented function.

profileFrames def profileFrames(self, num=1) Undocumented function.

pushCTrav def pushCTrav(self, cTrav) Undocumented function.

removeCameraFrustum def removeCameraFrustum(self) Undocumented function.

restart def restart(self) Undocumented function.

reviveInput def reviveInput(self) Undocumented function.

run def run(self) Undocumented function.

saveCubeMap def saveCubeMap(self, namePrefix='cube_map_#.png', defaultFilename=0, source=None, camera=None, size=128, cameraMask=PandaNode.getAllCameraMask()) Undocumented function.

saveSphereMap def saveSphereMap(self, namePrefix='spheremap.png', defaultFilename=0, source=None, camera=None, size=256, cameraMask=PandaNode.getAllCameraMask(), numVertices=1000) Undocumented function.

screenshot def screenshot(self, namePrefix='screenshot', defaultFilename=1, source=None, imageComment="") Undocumented function.

SetAllSfxEnables def SetAllSfxEnables(self, bEnabled) Undocumented function.

setBackgroundColor def setBackgroundColor(self, r=None, g=None, b=None, a=0.0, win=None) Undocumented function.

setFrameRateMeter def setFrameRateMeter(self, flag) Undocumented function.

setMouseOnNode def setMouseOnNode(self, newNode) Undocumented function.

setSleep def setSleep(self, amount) Undocumented function.

setupDataGraph def setupDataGraph(self) Undocumented function.

setupMouse def setupMouse(self, win) Undocumented function.

setupRender def setupRender(self) Undocumented function.

setupRender2d def setupRender2d(self) Undocumented function.

setupRender2dp def setupRender2dp(self) Undocumented function.

setupWindowControls def setupWindowControls(self) Undocumented function.

showCameraFrustum def showCameraFrustum(self) Undocumented function.

shutdown def shutdown(self) Undocumented function.

silenceInput def silenceInput(self) Undocumented function.

sleepCycleTask def sleepCycleTask(self, task) Undocumented function.

startDirect def startDirect(self, fWantDirect=1, fWantTk=1, fWantWx=0) Undocumented function.

startTk def startTk(self, fWantTk=1) Undocumented function.

startWx def startWx(self, fWantWx=1) Undocumented function.

textureOff def textureOff(self) Undocumented function.

textureOn def textureOn(self) Undocumented function.

toggleBackface def toggleBackface(self) Undocumented function.

toggleParticles def toggleParticles(self) Undocumented function.

toggleTexture def toggleTexture(self) Undocumented function.

toggleWireframe def toggleWireframe(self) Undocumented function.

updateManagers def updateManagers(self, state) Undocumented function.

useDrive def useDrive(self) Undocumented function.

userExit def userExit(self) Undocumented function.

useTrackball def useTrackball(self) Undocumented function.

wireframeOff def wireframeOff(self) Undocumented function.

wireframeOn def wireframeOn(self) Undocumented function.