void FStateMachineConnectionDrawingPolicy::DrawSplineWithArrow(const FVector2D& StartAnchorPoint, const FVector2D& EndAnchorPoint, const FLinearColor& WireColor, float WireThickness, bool bDrawBubbles, bool Bidirectional) { Internal_DrawLineWithArrow(StartAnchorPoint, EndAnchorPoint, WireColor, WireThickness, bDrawBubbles); if (Bidirectional) { Internal_DrawLineWithArrow(EndAnchorPoint, StartAnchorPoint, WireColor, WireThickness, bDrawBubbles); } }
void FBehaviorTreeConnectionDrawingPolicy::DrawSplineWithArrow(const FVector2D& StartAnchorPoint, const FVector2D& EndAnchorPoint, const FLinearColor& WireColor, float WireThickness, bool bDrawBubbles, bool Bidirectional) { // hacky: use bBidirectional flag to reverse direction of connection (used by debugger) const FVector2D& P0 = Bidirectional ? EndAnchorPoint : StartAnchorPoint; const FVector2D& P1 = Bidirectional ? StartAnchorPoint : EndAnchorPoint; Internal_DrawLineWithArrow(P0, P1, WireColor, WireThickness, bDrawBubbles); }