A Demo Project for the UnrealEngineSDK
|
UCLASS() More...
#include <DialogueGraphSchema.h>
Public Member Functions | |
void | BreakLinkTo (UEdGraphPin *TargetPin, UEdGraphPin *ToPin, bool bSendsNodeNotifcation) const |
void | BreakNodeLinks (UEdGraphNode &TargetNode) const override |
void | BreakPinLinks (UEdGraphPin &TargetPin, bool bSendsNodeNotifcation) const override |
void | BreakSinglePinLink (UEdGraphPin *SourcePin, UEdGraphPin *TargetPin) const override |
const FPinConnectionResponse | CanCreateConnection (const UEdGraphPin *PinA, const UEdGraphPin *PinB) const override |
bool | ConnectionCausesLoop (const UEdGraphPin *InputPin, const UEdGraphPin *OutputPin) const |
FPinConnectionResponse | CopyPinLinks (UEdGraphPin &CopyFromPin, UEdGraphPin &CopyToPin, bool bIsIntermediateCopy=false) const override |
bool | CreateAutomaticConversionNodeAndConnections (UEdGraphPin *PinA, UEdGraphPin *PinB) const override |
FConnectionDrawingPolicy * | CreateConnectionDrawingPolicy (int32 InBackLayerID, int32 InFrontLayerID, float InZoomFactor, const FSlateRect &InClippingRect, FSlateWindowElementList &InDrawElements, UEdGraph *InGraphObj) const override |
void | CreateDefaultNodesForGraph (UEdGraph &Graph) const override |
void | DroppedAssetsOnGraph (const TArray< FAssetData > &Assets, const FVector2D &GraphPosition, UEdGraph *Graph) const override |
void | DroppedAssetsOnNode (const TArray< FAssetData > &Assets, const FVector2D &GraphPosition, UEdGraphNode *Node) const override |
void | GetContextMenuActions (const UEdGraph *CurrentGraph, const UEdGraphNode *InGraphNode, const UEdGraphPin *InGraphPin, FMenuBuilder *MenuBuilder, bool bIsDebugging) const override |
TSharedPtr< FEdGraphSchemaAction > | GetCreateCommentAction () const override |
void | GetGraphContextActions (FGraphContextMenuBuilder &ContextMenuBuilder) const override |
int32 | GetNodeSelectionCount (const UEdGraph *Graph) const override |
void | GetPaletteActions (FGraphActionMenuBuilder &ActionMenuBuilder) const |
FPinConnectionResponse | MovePinLinks (UEdGraphPin &MoveFromPin, UEdGraphPin &MoveToPin, bool bIsIntermediateMove=false, bool bNotifyLinkedNodes=false) const override |
bool | ShouldAlwaysPurgeOnModification () const override |
bool | ShouldHidePinDefaultValue (UEdGraphPin *Pin) const override |
bool | TryCreateConnection (UEdGraphPin *PinA, UEdGraphPin *PinB) const override |
Static Public Attributes | |
static const FText | NODE_CATEGORY_Convert |
static const FText | NODE_CATEGORY_Dialogue |
static const FText | NODE_CATEGORY_Graph |
static const FName | PIN_CATEGORY_Input |
static const FName | PIN_CATEGORY_Output |
Private Member Functions | |
GENERATED_BODY () | |
void | GetAllDialogueNodeActions (FGraphActionMenuBuilder &ActionMenuBuilder) const |
void | GetCommentAction (FGraphActionMenuBuilder &ActionMenuBuilder, const UEdGraph *CurrentGraph=nullptr) const |
void | GetConvertActions (FGraphActionMenuBuilder &ActionMenuBuilder, const UEdGraph *CurrentGraph) const |
Static Private Member Functions | |
static void | InitDialogueNodeClasses () |
Static Private Attributes | |
static bool | bDialogueNodeClassesInitialized = false |
static TArray< TSubclassOf< UDlgNode > > | DialogueNodeClasses |
UCLASS()
Definition at line 24 of file DialogueGraphSchema.h.
void UDialogueGraphSchema::BreakLinkTo | ( | UEdGraphPin * | TargetPin, |
UEdGraphPin * | ToPin, | ||
bool | bSendsNodeNotifcation ) const |
Breaks all links from/to a single pin
FromPin | The pin to break links from |
ToPin | The pin we are breaking links to |
bSendsNodeNotifcation | whether to send a notification to the node post pin connection change |
Definition at line 379 of file DialogueGraphSchema.cpp.
|
override |
Breaks all links from/to a single node
TargetNode | The node to break links on |
Definition at line 305 of file DialogueGraphSchema.cpp.
|
override |
Breaks all links from/to a single pin
TargetPin | The pin to break links on |
bSendsNodeNotifcation | whether to send a notification to the node post pin connection change |
Definition at line 328 of file DialogueGraphSchema.cpp.
|
override |
Breaks the link between two nodes.
SourcePin | The pin where the link begins. |
TargetPin | The pin where the link ends. |
Definition at line 358 of file DialogueGraphSchema.cpp.
|
override |
Determine if a connection can be created between two pins.
PinA | The first pin. |
PinB | The second pin. |
Definition at line 138 of file DialogueGraphSchema.cpp.
bool UDialogueGraphSchema::ConnectionCausesLoop | ( | const UEdGraphPin * | InputPin, |
const UEdGraphPin * | OutputPin ) const |
Check whether connecting these pins would cause a loop
Definition at line 42 of file DialogueGraphSchema.cpp.
|
override |
Copies pin links from one pin to another without breaking the original links
Definition at line 133 of file DialogueGraphSchema.cpp.
|
override |
Try to create an automatic cast or other conversion node node to facilitate a connection between two pins. It makes the cast node, a connection between A and the cast node, and a connection from the cast node to B.two This method is called when a connection is made where CanCreateConnection returned bCanAutoConvert.
PinA | The first pin. |
PinB | The second pin. |
Definition at line 259 of file DialogueGraphSchema.cpp.
|
inlineoverride |
Definition at line 164 of file DialogueGraphSchema.h.
|
override |
Populate new graph with any default nodes
Graph | Graph to add the default nodes to |
Definition at line 113 of file DialogueGraphSchema.cpp.
|
override |
Called when asset(s) are dropped onto the specified node
Definition at line 365 of file DialogueGraphSchema.cpp.
|
override |
Called when asset(s) are dropped onto the specified node
Definition at line 370 of file DialogueGraphSchema.cpp.
|
private |
|
private |
Adds actions for creating every type of DialogueNode
Definition at line 477 of file DialogueGraphSchema.cpp.
|
private |
Adds action for creating a comment
Definition at line 423 of file DialogueGraphSchema.cpp.
|
override |
Gets actions that should be added to the right-click context menu for a node or pin
Menu | The menu to append actions to. |
Context | The menu's context. |
Definition at line 89 of file DialogueGraphSchema.cpp.
|
private |
Adds conversion actions for differet nodes.
Definition at line 443 of file DialogueGraphSchema.cpp.
|
inlineoverride |
Returns schema action to create comment from implemention
Definition at line 158 of file DialogueGraphSchema.h.
|
override |
Get all actions that can be performed when right clicking on a graph or drag-releasing on a graph from a pin
[in,out] | ContextMenuBuilder | The context (graph, dragged pin, etc...) and output menu builder. |
Definition at line 58 of file DialogueGraphSchema.cpp.
|
inlineoverride |
Returns the currently selected graph node count
Graph | The active graph to find the selection count for |
Definition at line 149 of file DialogueGraphSchema.h.
void UDialogueGraphSchema::GetPaletteActions | ( | FGraphActionMenuBuilder & | ActionMenuBuilder | ) | const |
Helper method to add items valid to the palette list
Definition at line 36 of file DialogueGraphSchema.cpp.
|
staticprivate |
Generates a list of all available UDlgNode classes
Definition at line 519 of file DialogueGraphSchema.cpp.
|
override |
Break links on this pin and create links instead on MoveToPin
Definition at line 128 of file DialogueGraphSchema.cpp.
|
inlineoverride |
When a node is removed, this method determines whether we should remove it immediately or use the old (slower) code path that results in all node being recreated:
Definition at line 155 of file DialogueGraphSchema.h.
|
override |
If we should disallow viewing and editing of the supplied pin
Definition at line 300 of file DialogueGraphSchema.cpp.
|
override |
Try to make a connection between two pins.
PinA | The first pin. |
PinB | The second pin. |
Definition at line 204 of file DialogueGraphSchema.cpp.
|
staticprivate |
Whether the list of UDlgNode classes has been populated
Definition at line 216 of file DialogueGraphSchema.h.
|
staticprivate |
A list of all available UDlgNode classes
Definition at line 213 of file DialogueGraphSchema.h.
|
static |
Definition at line 209 of file DialogueGraphSchema.h.
|
static |
Definition at line 207 of file DialogueGraphSchema.h.
|
static |
Definition at line 208 of file DialogueGraphSchema.h.
|
static |
Definition at line 203 of file DialogueGraphSchema.h.
|
static |
Definition at line 204 of file DialogueGraphSchema.h.