Panda3D
Functions | Variables
direct.showbase.ShowBaseGlobal Namespace Reference

Functions

def inspect (anObject)
 
def run ()
 

Variables

 aspect2d = render2d.attachNewNode(PGTop("aspect2d"))
 
 cpMgr = ConfigPageManager.getGlobalPtr()
 
 cvMgr = ConfigVariableManager.getGlobalPtr()
 
 globalClock = ClockObject.getGlobalClock()
 
 hidden = NodePath("hidden")
 
 inspect
 
 ostream = Notify.out()
 
 pandaSystem = PandaSystem.getGlobalPtr()
 
 render2d = NodePath("render2d")
 
 vfs = VirtualFileSystem.getGlobalPtr()
 

Detailed Description

This module serves as a container to hold the global
:class:`~.ShowBase.ShowBase` instance, as an alternative to using the builtin
scope.

Many of the variables contained in this module are also automatically written
to the :mod:`builtins` module when ShowBase is instantiated, making them
available to any Python code.  Importing them from this module instead can make
it easier to see where these variables are coming from.

Note that you cannot directly import :data:`~builtins.base` from this module
since ShowBase may not have been created yet; instead, ShowBase dynamically
adds itself to this module's scope when instantiated.

Function Documentation

◆ inspect()

def direct.showbase.ShowBaseGlobal.inspect (   anObject)
Opens up a :mod:`direct.tkpanels.Inspector` GUI panel for inspecting an
object.

◆ run()

def direct.showbase.ShowBaseGlobal.run ( )
Deprecated alias for :meth:`base.run() <.ShowBase.run>`.

Variable Documentation

◆ aspect2d

aspect2d = render2d.attachNewNode(PGTop("aspect2d"))

◆ cpMgr

◆ cvMgr

◆ globalClock

globalClock = ClockObject.getGlobalClock()

◆ hidden

hidden = NodePath("hidden")

◆ inspect

inspect

◆ ostream

ostream = Notify.out()

◆ pandaSystem

pandaSystem = PandaSystem.getGlobalPtr()

◆ render2d

render2d = NodePath("render2d")

◆ vfs