Eidolon
|
Functions | |
def | readConfig (configfile, conf) |
def | generateConfig (inargs) |
def | initDefault (conf, initGui=True) |
def | initDefaultAssets (mgr) |
def | defaultMain (args=None) |
def | noGuiMain (args=[]) |
def eidolon.Application.defaultMain | ( | args = None | ) |
Default entry point for the application, calls the standard sequence of init steps and then starts the UI.
def eidolon.Application.generateConfig | ( | inargs | ) |
Setup and return a Config object based on the environment and provided command line arguments `inargs'. This will parse the values in `inargs' according to the in-built command line argument specification, and store the results in the "args" group of the returned Config object. The configuration file in the Eidolon directory (defined by the environment variable named by APPDIRVAR) is the loaded and its values are inserted into the Config object. If a configuration file is specified on the command line or otherwise there is one in the app directory, this is loaded and its values override those already loaded. Any arguments defined on the command line are then inserted into the object, and the "var" argument if present is then parsed and its values inserted.
def eidolon.Application.initDefault | ( | conf, | |
initGui = True |
|||
) |
Initialize the default components of Eidolon. This sets up tracing, concurrency, inits the UI, sets the style sheet, creates the main window, and finally creates the SceneManager. Returns the main window and manager.
def eidolon.Application.initDefaultAssets | ( | mgr | ) |
Initializes scene colors and lights, loads GPU scripts, and creates materials.
def eidolon.Application.noGuiMain | ( | args = [] | ) |
Default entry point for the application, calls the standard sequence of init steps and then starts the UI.
def eidolon.Application.readConfig | ( | configfile, | |
conf | |||
) |
Read configuration ini file `configfile' and store values in Config object `conf'. Each section will also have a value with the name of the section in lower case containing the comma-separated list of value names.