AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CreateUsdPrim.h
1 //
2 // Copyright 2017 Animal Logic
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.//
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 #pragma once
17 
18 #include "maya/MPxCommand.h"
19 #include "pxr/pxr.h"
20 #include "AL/event/EventHandler.h"
21 #include "AL/maya/utils/Api.h"
22 #include "AL/maya/utils/MayaHelperMacros.h"
23 
24 PXR_NAMESPACE_USING_DIRECTIVE
25 
26 namespace AL {
27 namespace usdmaya {
28 namespace cmds {
29 
30 //----------------------------------------------------------------------------------------------------------------------
33 //----------------------------------------------------------------------------------------------------------------------
35  : public MPxCommand
36 {
37 public:
38  AL_MAYA_DECLARE_COMMAND();
39 private:
40  MStatus doIt(const MArgList& args) override;
41 };
42 
43 } // cmds
44 } // usdmaya
45 } // AL
A command that allows you to register and unregister new Event types from script. ...
Definition: CreateUsdPrim.h:34