| 694 | |
| 695 | |
| 696 | void Scb::Scene::removeAggregate(Scb::Aggregate& agg) |
| 697 | { |
| 698 | if (!mIsBuffering) |
| 699 | { |
| 700 | mScene.deleteAggregate(agg.getAggregateID()); |
| 701 | agg.resetControl(ControlState::eNOT_IN_SCENE); |
| 702 | agg.setScbScene(NULL); |
| 703 | #if PX_SUPPORT_PVD |
| 704 | mScenePvdClient.releasePvdInstance(&agg); |
| 705 | #endif |
| 706 | } |
| 707 | else |
| 708 | { |
| 709 | mAggregateManager.scheduleForRemove(agg); |
| 710 | } |
| 711 | } |
| 712 | |
| 713 | |
| 714 | void Scb::Scene::addMaterial(const Sc::MaterialCore& material) |
nothing calls this directly
no test coverage detected