rockingTransform/rockingTransformMain.cpp
#include <maya/MFnPlugin.h>
#include <maya/MPxTransform.h>
#include <maya/MPxTransformationMatrix.h>
#include <maya/MTransformationMatrix.h>
#include "rockingTransform.h"
{
MFnPlugin plugin(obj, PLUGIN_COMPANY,
"6.5",
"Any");
static const bool explicitlySetVP2classification = false;
const MString classification =
"drawdb/geometry/transform/rockingTransform";
rockingTransformNode::id,
&rockingTransformNode::creator,
&rockingTransformNode::initialize,
&rockingTransformMatrix::creator,
rockingTransformMatrix::id,
explicitlySetVP2classification ?
&classification : NULL);
if (!status) {
status.
perror(
"registerNode");
return status;
}
return status;
}
{
status = plugin.deregisterNode( rockingTransformNode::id );
if (!status) {
status.
perror(
"deregisterNode");
return status;
}
return status;
}