MPxEmitter draw function

9 views
Skip to first unread message

Nandee

unread,
Dec 8, 2017, 7:15:21 PM12/8/17
to Python Programming for Autodesk Maya
Hey, guys!

I am learning about the Maya api, but now I'm stuck. My problem is, how can I use the emit and draw function in order to emit particles. Can somebody guide me please?

void    emit(const MVectorArray &inPosAry, const MVectorArray &inVelAry,
const MIntArray &countAry, double dt, double speed,
double inheritFactor, MVector dirV,
MVectorArray &outPos, MVectorArray &outVel, MDoubleArray &outTime);

virtual void    draw(M3dView  & view, const  MDagPath  & path, M3dView::DisplayStyle  style, M3dView::DisplayStatus);

Your help is highly appreciated.
Reply all
Reply to author
Forward
0 new messages