Code/Framework/AzToolsFramework/AzToolsFramework/UI/PropertyEditor/ComponentEditor.cpp
AZStd::unordered_set<AZ::Component*> GetRelatedIncompatibleComponents(const AZStd::vector<AZ::Component*>& components)
    {
        AZStd::unordered_set<AZ::Component*> allIncompatibleComponents;
        for (auto component : components)
        {
            const AZStd::unordered_set<AZ::Component*> incompatibleComponents = GetRelatedIncompatibleComponents(component);
            allIncompatibleComponents.insert(incompatibleComponents.begin(), incompatibleComponents.end());
        }
        return allIncompatibleComponents;
    }
//generate a list of all valid or pending sibling components that are service-incompatible with the specified set of component
generate a list of all valid or pending sibling components that are service-incompatible with the specified set of component
generate a list of all valid or pending sibling components that are service - incompatible with the specified set of component
AZStd::unordered_set<AZ::Component*> GetRelatedIncompatibleComponents(const AZStd::vector<AZ::Component*>& components)
    {
        AZStd::unordered_set<AZ::Component*> allIncompatibleComponents;
        for (auto component : components)
        {
            const AZStd::unordered_set<AZ::Component*> incompatibleComponents = GetRelatedIncompatibleComponents(component);
            allIncompatibleComponents.insert(incompatibleComponents.begin(), incompatibleComponents.end());
        }
        return allIncompatibleComponents;
    }
AZStd :: unordered_set < AZ :: Component * > GetRelatedIncompatibleComponents ( const AZStd :: vector < AZ :: Component * > & components ) { AZStd :: unordered_set < AZ :: Component * > allIncompatibleComponents ; for ( auto component : components ) { const AZStd :: unordered_set < AZ :: Component * > incompatibleComponents = GetRelatedIncompatibleComponents ( component ) ; allIncompatibleComponents . insert ( incompatibleComponents . begin ( ) , incompatibleComponents . end ( ) ) ; } return allIncompatibleComponents ; }
generate a list of all valid or pending sibling components that are service-incompatible with the specified set of component
generate a list of all valid or pending sibling components that are service - incompatible with the specified set of component