136 bool is_active_global = trans_comp.is_active_global();
138 bool has_broken_source =
false;
145 has_broken_source =
true;
149 auto col = ImGui::GetStyleColorVec4(ImGuiCol_Text);
151 col = ImLerp(col, ImVec4(0.5f, 0.85f, 1.0f, 1.0f),
float(has_source) * 0.5f);
152 col = ImLerp(col, ImVec4(1.0f, 0.0f, 0.0f, 1.0f),
float(has_broken_source) * 0.5f);
153 col = ImLerp(col, ImVec4(0.5f, 0.85f, 1.0f, 1.0f),
float(is_bone) * 0.5f);
154 col = ImLerp(col, ImVec4(0.8f, 0.4f, 0.4f, 1.0f),
float(is_submesh) * 0.5f);
155 col = ImLerp(col, ImVec4(col.x * 0.75f, col.y * 0.75f, col.z * 0.75f, col.w * 0.75f),
float(!is_active_global));
static void mark_entity_as_removed(entt::handle entity)
Marks an entity as removed from the prefab instance.