MCPcopy Create free account
hub / github.com/Illation/ETEngine / UpdateOutlines

Method UpdateOutlines

Engine/source/EtEditor/SceneEditor/SceneSelection.cpp:149–161  ·  view source on GitHub ↗

---------------------------------------------------- SceneSelection::UpdateOutliners

Source from the content-addressed store, hash-verified

147// SceneSelection::UpdateOutliners
148//
149void SceneSelection::UpdateOutlines() const
150{
151 // actually we should do this for every viewport with a scene renderer
152 if (m_OutlineExtension != nullptr)
153 {
154 m_OutlineExtension->Clear();
155 m_OutlineExtension->SetColor(m_OutlineColor);
156 for (fw::T_EntityId const entity : m_SelectedEntities)
157 {
158 RecursiveAddOutlines(entity);
159 }
160 }
161}
162
163//----------------------------------------------------
164// SceneSelection::OnSceneEvent

Callers 1

OnTickMethod · 0.80

Calls 2

ClearMethod · 0.45
SetColorMethod · 0.45

Tested by

no test coverage detected