#include
<MFnIkEffector.h>
MFnIkEffector is the function set for inverse kinematic end effectors. An end effector is a point on the skeleton, usually the last bone. When an IK system solves, it is trying to calculate the rotations on the joints necessary to get the end effector to the target point.
The methods of the parent class MFnTransform used to position the end effector.
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnIkEffector () |
Destructor. |
|
MFnIkEffector () | |
Default constructor. |
|
MFnIkEffector (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MFnIkEffector (const MDagPath &object, MStatus *ret=NULL) | |
Constructor. |
|
MObject | create (MObject parent=MObject::kNullObj, MStatus *ReturnStatus=NULL) |
MFnIkEffector (const MObject &object, MStatus *ret=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
MFnIkEffector::~MFnIkEffector | ( | ) | [virtual] |
Destructor.
Class destructor.
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 |
Constructor.
Class constructor that initializes the function set to the given constant MDagPath object.
[in] | object | The const MDagPath to attach the function set to |
[out] | ReturnStatus | The return status |
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 MFnIkEffector::type | ( | ) | const [virtual] |
const char * MFnIkEffector::className | ( | ) | const [protected, virtual] |
MObject MFnIkEffector::create | ( | MObject | parent = MObject::kNullObj , |
|
MStatus * | ReturnStatus =
NULL |
|||
) |
Creates a new end effector. For the effector to work properly, it should be given a joint as the parent. It should be given the joint before the last bone.
[in] | parent | parent DAG node (should be a joint) |
[out] | ReturnStatus | return status |
Reimplemented from MFnTransform.
Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |