blob: 09bf3854e6d9e966b056a6e3691bdb97ea6cb435 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef _shaveExportGameCmd_h_
#define _shaveExportGameCmd_h_
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962
#include <maya/MArgList.h>
#include <maya/MPxCommand.h>
#include <maya/MSyntax.h>
#include <maya/MString.h>
#include <maya/MObject.h>
class shaveExportGame : public MPxCommand
{
public:
static const MString cmd;
// static const char* filename_long;
// static const char* filename_short;
static const char* nodename_long;
static const char* nodename_short;
shaveExportGame(){}
virtual ~shaveExportGame(){}
MStatus doIt( const MArgList& args );
bool isUndoable() const {return false;}
static void* creator() {return new shaveExportGame;}
static MSyntax newSyntax();
protected:
bool findNodeByName(const MString& name, MObject& thenode) const;
};
#endif
|