Panda3D
Functions | Variables
direct.p3d.runp3d Namespace Reference

Functions

def parseSysArgs ()
 
def runPackedApp (pathname)
 

Variables

def argv = parseSysArgs()
 
 gotWindow
 
 instanceId
 
 interactiveConsole
 
 runner = AppRunner()
 
 tokens
 

Detailed Description

This tool will invoke the AppRunner to execute a packaged p3d
application.  It requires that that the current Panda3D and Python
versions match the version expected by the application.

Normally, you do not need to use this tool; instead, use the provided
standalone panda3d executable to invoke any p3d application.  Using
panda3d will guarantee that the correct versions of Panda3D and Python
are used to run the application.  However, there may be occasions when
it is useful to use this tool to run the application with the current
build instead of with its advertised version requirements.

Usage:

  runp3d.py app.p3d [args]

The command-line arguments following the application name are passed
into the application unchanged.

See pack3d.p3d for an application that generates these p3d files.

Function Documentation

◆ parseSysArgs()

def direct.p3d.runp3d.parseSysArgs ( )
Handles sys.argv, if there are any local arguments, and
returns a new argv suitable for passing into the
application. 

◆ runPackedApp()

def direct.p3d.runp3d.runPackedApp (   pathname)

Variable Documentation

◆ argv

argv = parseSysArgs()

◆ gotWindow

gotWindow

◆ instanceId

instanceId

◆ interactiveConsole

interactiveConsole

◆ runner

runner = AppRunner()

◆ tokens

tokens