Python API 2.0 Reference: OpenMaya.MCameraMessage Class Reference

OpenMaya.MCameraMessage Class Reference
+ Inheritance diagram for OpenMaya.MCameraMessage:

Static Public Member Functions

addBeginManipulationCallback ()
 
addEndManipulationCallback ()
 
- Static Public Member Functions inherited from OpenMaya.MMessage
currentCallbackId ()
 
nodeCallbacks ()
 
removeCallback ()
 
removeCallbacks ()
 

Additional Inherited Members

- Static Public Attributes inherited from OpenMaya.MMessage
int kDefaultAction = 0
 
int kDoAction = 2
 
int kDoNotDoAction = 1
 

Detailed Description

Class used to register callbacks for Camera Manipulation Begin and End related messages.

Method resolution order:
-   MCameraMessage
-   MMessage
-   __builtin__.object

Member Function Documentation

OpenMaya.MCameraMessage.addBeginManipulationCallback ( )
static
addBeginManipulationCallback(node, function, clientData=None) -> id

Registers callbacks for camera manipulation beginning messages.

 * node (MObject) - The node to register the callback for.
 * function (MMessage::MNodeFunction) - the callback function
 * clientData - User defined data passed to the callback function

 * return: Identifier used for removing the callback.
OpenMaya.MCameraMessage.addEndManipulationCallback ( )
static
addEndManipulationCallback(node, function, clientData=None) -> id

Registers callbacks for camera manipulation ending messages.

 * node (MObject) - The node to register the callback for.
 * function (MMessage::MNodeFunction) - the callback function
 * clientData - User defined data passed to the callback function

 * return: Identifier used for removing the callback.