Public Member Functions | Protected Member Functions

MFnKeyframeDeltaScale Class Reference

Search for all occurrences

Detailed Description

Function set for scaling in time.

This function set is used for keyframe deltas of type MFn::kKeyframeDeltaScale. These deltas are generated from scaling events. Particularly scaling on the time axis. Changes in value are recorded as a MFnKeyframeDeltaMove.

#include <MFnKeyframeDeltaScale.h>

Inheritance diagram for MFnKeyframeDeltaScale:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual MFn::Type  type () const
  Function set type.
virtual  ~MFnKeyframeDeltaScale ()
  Destructor.
  MFnKeyframeDeltaScale ()
  Default constructor.
  MFnKeyframeDeltaScale (MObject &object, MStatus *ReturnStatus=NULL)
  Constructor.
MTime  startTime (MStatus *ReturnStatus=NULL) const
  The start time of the scaling block.
MTime  endTime (MStatus *ReturnStatus=NULL) const
  The end time of the scaling block.
MTime  currentStartTime (MStatus *ReturnStatus=NULL) const
  The current scale time (after scaling has been performed).
MTime  currentEndTime (MStatus *ReturnStatus=NULL) const
  The current end time.
MTime  pivotTime (MStatus *ReturnStatus=NULL) const
  The pivot point of the scale (in time).
  MFnKeyframeDeltaScale (const MObject &object, MStatus *ReturnStatus=NULL)
  Constructor.

Protected Member Functions

virtual const char *  className () const
  Class name.

Constructor & Destructor Documentation

MFnKeyframeDeltaScale ( MObject object,
MStatus ReturnStatus = NULL 
)

Constructor.

Class constructor that initializes the function set to the given MObject.

Parameters:
[in] object The MObject to attach the function set to
[out] ReturnStatus the return status
Status Codes:
MFnKeyframeDeltaScale ( const MObject object,
MStatus ReturnStatus = NULL 
)

Constructor.

Class constructor that initializes the function set to the given MObject.

Parameters:
[in] object The MObject to attach the function set to
[out] ReturnStatus the return status
Status Codes:

Member Function Documentation

MFn::Type type ( ) const [virtual]

Function set type.

Return the class type : MFn::kKeyframeDeltaScale.

Reimplemented from MFnKeyframeDelta.

const char * className ( ) const [protected, virtual]

Class name.

Return the class name : "MFnKeyframeDeltaScale".

Reimplemented from MFnKeyframeDelta.

MTime startTime ( MStatus ReturnStatus = NULL ) const

The start time of the scaling block.

Parameters:
[out] ReturnStatus return code.
Returns:
An MTime value
Status Codes:
MTime endTime ( MStatus ReturnStatus = NULL ) const

The end time of the scaling block.

Parameters:
[out] ReturnStatus return code.
Returns:
An MTime value
Status Codes:
MTime currentStartTime ( MStatus ReturnStatus = NULL ) const

The current scale time (after scaling has been performed).

Parameters:
[out] ReturnStatus return code.
Returns:
An MTime value
Status Codes:
MTime currentEndTime ( MStatus ReturnStatus = NULL ) const

The current end time.

Parameters:
[out] ReturnStatus return code.
Returns:
An MTime value
Status Codes:
MTime pivotTime ( MStatus ReturnStatus = NULL ) const

The pivot point of the scale (in time).

Parameters:
[out] ReturnStatus return code.
Returns:
An MTime value
Status Codes:

MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale
MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale MFnKeyframeDeltaScale