Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- FConnectionDrawingPolicy
- FKismetConnectionDrawingPolicy
- FRigVMEdGraphConnectionDrawingPolicy
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/BlueprintConnectionDrawingPolicy.h |
| Include | #include "BlueprintConnectionDrawingPolicy.h" |
Syntax
class FKismetConnectionDrawingPolicy : public FConnectionDrawingPolicy
Remarks
This class draws the connections for an UEdGraph using a K2-based schema.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | AttackColor | ||
| float | AttackHoldPeriod | ||
| float | AttackWireThickness | ||
| double | CurrentTime | ||
| float | DecayExponent | ||
| float | DecayPeriod | ||
| float | DefaultDataWireThickness | ||
| float | DefaultExecutionWireThickness | ||
| UEdGraph * | GraphObj | ||
| TMap< class UK2Node_Knot *, bool > | KnotToReversedDirectionMap | Each time a knot is encountered, input geometry is compared to output geometry to see if the pins on the knot need to be reversed. | |
| double | LatestTimeDiscovered | ||
| TMap< UEdGraphNode *, FExecPairingMap > | PredecessorPins | Map of executed nodes, and the execution pins that lead to them being ran. | |
| FLinearColor | ReleaseColor | ||
| float | ReleaseExponent | ||
| float | ReleasePeriod | ||
| float | ReleaseWireThickness | ||
| FLinearColor | SustainColor | ||
| float | SustainHoldPeriod | ||
| float | SustainWireThickness | ||
| float | TracePositionBonusPeriod | ||
| float | TracePositionExponent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FKismetConnectionDrawingPolicy
(
int32 InBackLayerID, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AreNodesGraphicallySequential
(
UEdGraphNode* InputNode, |
Checks that the specified nodes are connected in the graph directly by an exec pin. | |
| FTimePair const * | BackTraceExecPath
(
UEdGraphPin const*const OutputPin, |
With the introduction of "reroute" (UK2Node_Knot) nodes, we have to backtrace to find a node that was actually executed before the one in question (knot nodes are removed at compile time, and therefore never executed). | |
| void | |||
| void | CalculateEnvelopeAlphas
(
double ExecutionTime, |
||
| bool | |||
| bool | CanBuildRoadmap
(
UBlueprint* TargetBP |
Determines if the given Blueprint context has a valid object for debugging. | |
| void | DetermineStyleOfExecWire
(
float& Thickness, |
||
| bool | FindPinCenter
(
UEdGraphPin* Pin, |
||
| bool | GetAverageConnectedPosition
(
UK2Node_Knot* Knot, |
||
| UBlueprint * | Determines the target Blueprint for querying the active debugging context. | ||
| bool | ShouldChangeTangentForKnot
(
UK2Node_Knot* Knot |
||
| bool | TreatWireAsExecutionPin
(
UEdGraphPin* InputPin, |
Should this wire be treated as an execution pin, querying the execution trace for connected nodes to draw it differently? |
Overridden from FConnectionDrawingPolicy
| Type | Name | Description | |
|---|---|---|---|
| void | DetermineWiringStyle
(
UEdGraphPin* OutputPin, |
Give specific editor modes a chance to highlight this connection or darken non-interesting connections. | |
| void | Draw
(
TMap< TSharedRef< SWidget >, FArrangedWidget >& PinGeometries, |
||
| void | ResetIncompatiblePinDrawState
(
const TSet< TSharedRef< SWidget > >& VisiblePins |
||
| void | SetIncompatiblePinDrawState
(
const TSharedPtr< SGraphPin >& StartPin, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FTimePair | Times for one execution pair within the current graph. |
Typedefs
| Name | Description |
|---|---|
| FExecPairingMap | Map of exec-pins to a pair of execution times (holds timing info for the owning-node, paired with a time of execution for the linked node)... |