MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getUtilizedAssets

Method getUtilizedAssets

Engine/source/T3D/prefab.cpp:562–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562void Prefab::getUtilizedAssets(Vector<StringTableEntry>* usedAssetsList)
563{
564 if (!mChildGroup) return;
565 Vector<SceneObject*> foundObjects;
566 mChildGroup->findObjectByType(foundObjects);
567
568 for (S32 i = 0; i < foundObjects.size(); i++)
569 {
570 SceneObject* child = foundObjects[i];
571
572 child->getUtilizedAssets(usedAssetsList);
573 }
574}
575
576ExplodePrefabUndoAction::ExplodePrefabUndoAction( Prefab *prefab )
577: UndoAction( "Explode Prefab" )

Callers 2

dumpUtilizedAssetsMethod · 0.45

Calls 2

findObjectByTypeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected