MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetSelectedObjects

Method SetSelectedObjects

trinity/Tr2DebugRenderer.cpp:885–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883
884
885void Tr2DebugRenderer::SetSelectedObjects( const std::vector<std::pair<IRoot*, uint32_t>>& objects )
886{
887 m_selectedObjects.clear();
888 for( auto it = objects.begin(); it != objects.end(); ++it )
889 {
890 if( it->first )
891 {
892 m_selectedObjects.insert( Tr2DebugObjectReference( it->first, it->second ) );
893 }
894 }
895}
896
897void Tr2DebugRenderer::SetOptions( IRoot* owner, std::vector<Tr2DebugRendererOption>& options )
898{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected