I have a few questions dealing with the Maya API:
MObject obj;
list.getDependNode(i, obj);
MFnDependencyNode dNode(obj);
cerr << dNode.name().asChar() << endl;
When I call dNode as a MFnDependencyNode, how is it returning itself back as a reference (dNode)? How am I able to use dNode as a class when it acts as a (From what I understand) method When I am passing it obj…
Thanks!