#include <MFnInstancer.h>
Class for obtaining information about a particle instancer node.
Public Member Functions | |
virtual MFn::Type | type () const |
Function set type. | |
virtual | ~MFnInstancer () |
Destructor. | |
MFnInstancer () | |
Default constructor. | |
MFnInstancer (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. | |
MFnInstancer (const MDagPath &object, MStatus *ret=NULL) | |
Constructor. | |
int | particleCount () const |
int | instancesForParticle (int p, MDagPathArray &paths, MMatrix &instancerMatrix, MStatus *ReturnStatus=NULL) const |
MFnInstancer (const MObject &object, MStatus *ret=NULL) | |
Constructor. | |
Protected Member Functions | |
virtual const char * | className () const |
Class name. |
MFnInstancer::~MFnInstancer | ( | ) | [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 MFnInstancer::type | ( | ) | const [virtual] |
int MFnInstancer::particleCount | ( | ) | const |
Returns the number of particles feeding the active instancer
int MFnInstancer::instancesForParticle | ( | int | p, | |
MDagPathArray & | paths, | |||
MMatrix & | instancerMatrix, | |||
MStatus * | ReturnStatus = NULL | |||
) | const |
Returns (via reference) the DAG paths and instancer matrix for all instances generated by a specified particle
[in] | p | The index of the particle being queried. |
[in] | paths | Visible DAG paths generated by particle p |
[in] | instancerMatrix | The transformation matrix that the instancer applies to the instanced paths to produce the final particle-instanced geometry. The final world matrix of each instance can be constructed by premultiplying the path's inclusive world matrix by this matrix. |
[out] | ReturnStatus | status code |
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |