#include
<MFnKeyframeDeltaAddRemove.h>
Captures the addition or removal of key on a curve. keyIndex(...) will return the index of the key that was added or removed.
Public Types |
|
enum | DeltaType { kAdded, kRemoved, kReplaced } |
Type of change.
More... |
|
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnKeyframeDeltaAddRemove () |
Destructor. |
|
MFnKeyframeDeltaAddRemove () | |
Default constructor. |
|
MFnKeyframeDeltaAddRemove (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
DeltaType | deltaType (MStatus *ReturnStatus=NULL) const |
double | value (MStatus *ReturnStatus=NULL) const |
MTime | time (MStatus *ReturnStatus=NULL) const |
virtual unsigned int | keyIndex (MStatus *ReturnStatus=NULL) const |
double | replacedValue (MStatus *ReturnStatus=NULL) const |
MFnKeyframeDeltaAddRemove (const MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
MFnKeyframeDeltaAddRemove::MFnKeyframeDeltaAddRemove | ( | MObject & | object, | |
MStatus * | ReturnStatus =
NULL |
|||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFnKeyframeDeltaAddRemove::MFnKeyframeDeltaAddRemove | ( | const MObject & | object, | |
MStatus * | ReturnStatus =
NULL |
|||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFn::Type MFnKeyframeDeltaAddRemove::type | ( | ) | const [virtual] |
Function set type.
Return the class type : MFn::kKeyframeDeltaAddRemove
Reimplemented from MFnKeyframeDelta.
const char * MFnKeyframeDeltaAddRemove::className | ( | ) | const [protected, virtual] |
Class name.
Return the class name : "MFnKeyframeDeltaAddRemove"
Reimplemented from MFnKeyframeDelta.
MFnKeyframeDeltaAddRemove::DeltaType MFnKeyframeDeltaAddRemove::deltaType | ( | MStatus * | ReturnStatus =
NULL |
) | const |
Indicates the type of change that this class instance represents.
[out] | ReturnStatus |
double MFnKeyframeDeltaAddRemove::value | ( | MStatus * | ReturnStatus =
NULL |
) | const |
The value of the key that was added or removed.
[out] | ReturnStatus | Return code. |
The time value of the key that was added or removed.
[out] | ReturnStatus | Return code. |
unsigned int MFnKeyframeDeltaAddRemove::keyIndex | ( | MStatus * | ReturnStatus =
NULL |
) | const [virtual] |
The index of this key on the animation curve.
[out] | ReturnStatus | Return code. |
Reimplemented from MFnKeyframeDelta.
double MFnKeyframeDeltaAddRemove::replacedValue | ( | MStatus * | ReturnStatus =
NULL |
) | const |
The value of the key that was replaced. This method is only applicable to the kReplaced operation. Otherwise it will return 0.
[out] | ReturnStatus | Return code. |
Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |