MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / findExportedElement

Method findExportedElement

COLLADAMaya/src/COLLADAMayaSceneGraph.cpp:578–587  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

576
577 // --------------------------------------------------------------------
578 SceneElement* SceneGraph::findExportedElement ( const MDagPath& dagPath )
579 {
580 static bool output = false;
581 for ( SceneElementsList::iterator it = mExportedNodes.begin(); it != mExportedNodes.end(); ++it )
582 {
583 if ( ( *it )->getNode() == dagPath.node() ) return ( *it );
584 }
585
586 return NULL;
587 }
588
589 // --------------------------------------------------------------------
590 void SceneGraph::addExportedElement ( SceneElement* exportedElement )

Callers 8

exportLightsMethod · 0.80
exportAllPhysicsMethod · 0.80
exportMorphControllerMethod · 0.80
exportCamerasMethod · 0.80
exportGeometriesMethod · 0.80
handleControllersMethod · 0.80
exportLightProbesMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getNodeMethod · 0.45

Tested by

no test coverage detected