Panda3D
|
This class serves as a plug-in to Maya to allow viewing the current Maya selection as it will be converted to Panda. More...
#include "mayaPview.h"
Public Member Functions | |
virtual MStatus | doIt (const MArgList &args) |
Called when the plugin command is invoked. | |
Static Public Member Functions | |
static void * | creator () |
This is used to create a new instance of the plugin. |
This class serves as a plug-in to Maya to allow viewing the current Maya selection as it will be converted to Panda.
Definition at line 33 of file mayaPview.h.
void * MayaPview::creator | ( | ) | [static] |
This is used to create a new instance of the plugin.
Definition at line 222 of file mayaPview.cxx.
MStatus MayaPview::doIt | ( | const MArgList & | args | ) | [virtual] |
Called when the plugin command is invoked.
Definition at line 68 of file mayaPview.cxx.
References NodePath::attach_new_node(), PandaFramework::do_frame(), PandaFramework::enable_default_keys(), Thread::get_current_thread(), Filename::get_fullpath(), PandaFramework::get_models(), NodePath::instance_to(), PandaFramework::main_loop(), PandaFramework::open_framework(), PandaFramework::open_window(), NodePath::remove_node(), NodePath::set_scale(), PandaFramework::set_window_title(), Filename::unlink(), and NodePath::write_bam_file().