What is app in load(app)?

MakeHuman python API, python plugins, etc

Moderator: joepal

What is app in load(app)?

Postby JBird » Thu Sep 02, 2010 8:06 am

Hi,

I've been searching the API and all *.c files in the SVN version but I can't find what the "app" object is.

I mean the "app" in load(app) for plugins, because this seems to give access to cameras in OpenGL through eg. self.app.setGlobalCamera().

Can I somewhere find a reference of all methods and attributes available through the "app" object?


Thanks! :D
JBird
 
Posts: 8
Joined: Thu Aug 12, 2010 9:51 am

Re: What is app in load(app)?

Postby mflerackers » Thu Sep 02, 2010 8:12 am

The app variable is an MHApplication http://download.tuxfamily.org/makehuman ... class.html.
MakeHuman project Developer
mflerackers
 
Posts: 636
Joined: Thu Feb 05, 2009 11:53 am
Location: Kyoto

Re: What is app in load(app)?

Postby JBird » Thu Sep 02, 2010 8:38 am

Thanks!!
JBird
 
Posts: 8
Joined: Thu Aug 12, 2010 9:51 am


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest