Exemplo n.º 1
0
void SGraphPin::OnMouseEnter( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent )
{
	if (!bIsHovered)
	{
		FKnotNetCollector NetCollector(GetPinObj());

		TSharedPtr<SGraphPanel> Panel = OwnerNodePtr.Pin()->GetOwnerPanel();
		for (UEdGraphPin* PinInNet : NetCollector.VisitedPins)
		{
			Panel->AddPinToHoverSet(PinInNet);
			HoverPinSet.Add(PinInNet);
		}
	}

	SCompoundWidget::OnMouseEnter(MyGeometry, MouseEvent);
}