direct.tkpanels.DirectSessionPanel

from direct.tkpanels.DirectSessionPanel import DirectSessionPanel

DIRECT Session Main panel

Inheritance diagram

Inheritance diagram of direct.tkpanels.DirectSessionPanel

class DirectSessionPanel(parent=None, **kw)[source]

Bases: AppShell

__init__(self, parent=None, **kw)[source]
addAmbient(self)[source]
addDirectional(self)[source]
addJBNodePath(self, nodePath)[source]
addLight(self, light)[source]
addNodePath(self, nodePath)[source]
addNodePathToDict(self, nodePath, names, menu, dict)[source]
addPoint(self)[source]
addSpot(self)[source]
appInit(self)[source]
appname = 'Direct Session Panel'
createDevicePage(self, devicePage)[source]
createEnvPage(self, envPage)[source]
createGridPage(self, gridPage)[source]
createInterface(self)[source]
createLightsPage(self, lightsPage)[source]
createMemPage(self, memPage)[source]
createTasksPage(self, tasksPage)[source]
frameHeight = 365
frameWidth = 600
onDestroy(self, event)[source]
pushRedo(self)[source]
pushRedoHook(self)[source]
pushUndo(self, fResetRedo=1)[source]
pushUndoHook(self)[source]
redoHook(self, nodePathList=[])[source]
redoListEmptyHook(self)[source]
resetFov(self)[source]
selectDisplayRegionNamed(self, name)[source]
selectJBModeNamed(self, name)[source]
selectJBNodePathNamed(self, name)[source]
selectLightNamed(self, name)[source]
selectNodePathNamed(self, name)[source]
selectedNodePathHook(self, nodePath)[source]
setBackgroundColor(self, r, g, b)[source]
setBackgroundColorVec(self, color)[source]
setConstantAttenuation(self, value)[source]
setExponent(self, value)[source]
setFar(self, far)[source]
setHFov(self, hFov)[source]
setLightColor(self, color)[source]
setLinearAttenuation(self, value)[source]
setNear(self, near)[source]
setQuadraticAttenuation(self, value)[source]
setSpecularColor(self, color)[source]
setVFov(self, vFov)[source]
toggleActiveLight(self)[source]
toggleDirect(self)[source]
toggleDirectGrid(self)[source]
toggleGrid(self)[source]
toggleHprSnap(self)[source]
toggleJoybox(self)[source]
toggleLights(self)[source]
toggleWidgetOnTop(self)[source]
toggleXyzSnap(self)[source]
undoHook(self, nodePathList=[])[source]
undoListEmptyHook(self)[source]
updateDisplayRegionInfo(self)[source]
updateEnvironmentInfo(self)[source]
updateGridInfo(self)[source]
updateInfo(self, page='Environment')[source]
updateLightInfo(self, page=None)[source]
usecommandarea = 0
usestatusarea = 0