void |
AddExtraFunctionFlags ( const UEdGraph* CurrentGraph, int32 ExtraFlags ) |
Add the specified flags to the function entry node of the graph, to make sure they get compiled in to the generated function |
void |
AddSelectedReplaceableNodes ( FToolMenuSection& Section, UBlueprint* Blueprint, const UEdGraphNode* InGraphNod... ) |
Generate a list of replaceable nodes for context menu based on the editor's current selection |
bool |
ArePinTypesCompatible ( const FEdGraphPinType& Output, const FEdGraphPinType& Input, const UClass* CallingContext, bool bIgnoreArray ) |
Returns true if the two pin types are schema compatible. |
void |
AutowireConversionNode ( UEdGraphPin* InputPin, UEdGraphPin* OutputPin, UEdGraphNode* ConversionNode ) |
Tries to connect any pins with matching types and directions from the conversion node to the specified input and output pins. |
FVector2D |
CalculateAveragePositionBetweenNodes ( UEdGraphPin* InputPin, UEdGraphPin* OutputPin ) |
Calculates an average position between the nodes owning the two specified pins. |
bool |
CanFunctionBeUsedInGraph ( const UClass* InClass, const UFunction* InFunction, const UEdGraph* InDestGraph, uint32 InFunctionTypes, bool bInCalledForEach, FText* OutReason ) |
Checks to see if the passed in function is valid in the graph for the current class |
bool |
CanKismetOverrideFunction ( const UFunction* Function ) |
Can this function be overridden by kismet (either placed as event or new function graph created) |
bool |
CanPromotePinToVariable ( const UEdGraphPin& Pin, bool bInToMemberVariable ) |
Can Pin be promoted to a variable? |
bool |
CanRecombineStructPin ( const UEdGraphPin& Pin ) |
Can Pin be recombined back to its original form |
bool |
CanSplitStructPin ( const UEdGraphPin& Pin ) |
Can Pin be split in to its component elements |
bool |
CanUserKismetAccessVariable ( const FProperty* Property, const UClass* InClass, EDelegateFilterMode FilterMode ) |
Can this variable be accessed by kismet code |
bool |
CanUserKismetCallFunction ( const UFunction* Function ) |
Can this function be called by kismet code |
bool |
ClassHasBlueprintAccessibleMembers ( const UClass* InClass ) |
See if a class has any members that are accessible by a blueprint |
bool |
CollapseGatewayNode ( UK2Node* InNode, UEdGraphNode* InEntryNode, UEdGraphNode* InResultNode, FKismetCompilerContext* Compil..., TSet< UEdGraphNode* >* Ou... ) |
Makes connections into/or out of the gateway node, connect directly to the associated networks on the opposite side of the tunnel When done, none of the pins on the gateway node will be connected to anything. |
void |
CombineTwoPinNetsAndRemoveOldPins ( UEdGraphPin* InPinA, UEdGraphPin* InPinB ) |
Connects all of the linked pins from PinA to all of the linked pins from PinB, removing both PinA and PinB from being linked to anything else Requires the nodes that own the pins to be in the same graph already (post-merging) |
void |
ConfigureVarNode ( UK2Node_Variable* InVarNode, FName InVariableName, UStruct* InVariableSource, UBlueprint* InTargetBlueprint ) |
Configure the supplied variable node based on the supplied info |
void |
ConstructBasicPinTooltip ( const UEdGraphPin& Pin, const FText& PinDescription, FString& TooltipOut ) |
|
UK2Node *... |
ConvertDeprecatedNodeToFunctionCall ( UK2Node* OldNode, UFunction* NewFunction, TMap< FName, FName >& OldPinToNewP..., UEdGraph* Graph ) |
Convert a deprecated node into a function call node, called from per-node ConvertDeprecatedNode |
bool |
ConvertPropertyToPinType ( const FProperty* Property, FEdGraphPinType& TypeOut ) |
Convert the type of a FProperty to the corresponding pin type. |
void |
CreateFunctionGraphTerminators ( UEdGraph& Graph, const UFunction* FunctionSigna... ) |
Populate new function graph with entry and possibly return node |
void |
CreateFunctionGraphTerminators ( UEdGraph& Graph, UClass* Class ) |
Populate new function graph with entry and possibly return node |
void |
CreateMacroGraphTerminators ( UEdGraph& Graph, UClass* Class ) |
Populate new macro graph with entry and possibly return node |
UK2Node *... |
CreateSplitPinNode ( UEdGraphPin* Pin, const FCreateSplitPinNodeParams& P... ) |
Helper function to create the expansion node. |
bool |
DefaultValueSimpleValidation ( const FEdGraphPinType& PinType, const FName PinName, const FString& NewDefaultValue, TObjectPtr< UObject > NewDefaultObj..., const FText& InText, FString* OutMsg ) |
Do validation, that doesn't require a knowledge about actual pin |
const FPinCo... |
DetermineConnectionResponseOfCompatibleTypedPins ( const UEdGraphPin* PinA, const UEdGraphPin* PinB, const UEdGraphPin* InputPin, const UEdGraphPin* OutputPin ) |
Returns the connection response for connecting PinA to PinB, which have already been determined to be compatible types with a compatible direction. |
bool |
DoesGraphSupportImpureFunctions ( const UEdGraph* InGraph ) |
Checks if the graph supports impure functions |
bool |
DoesSupportAnimNotifyActions () |
Some inherited schemas don't want anim-notify actions listed, so this is an easy way to check that |
bool |
DoesSupportCollapsedNodes () |
Determine if this graph supports collapsing nodes into subgraphs |
bool |
DoesSupportEventDispatcher () |
Determine if this graph supports event dispatcher |
bool |
DoesTypeHaveSubtypes ( const FName Category ) |
Returns whether or not the specified type has valid subtypes available |
float |
EstimateNodeHeight ( UEdGraphNode* Node ) |
Calculates an estimated height for the specified node |
UEdGraphPin ... |
FindExecutionPin ( const UEdGraphNode& Node, EEdGraphPinDirection PinDirection ) |
Searches for the first execution pin with the specified direction on the node |
bool |
FindFunctionParameterDefaultValue ( const UFunction* Function, const FProperty* Param, FString& OutString ) |
Given a function and property, return the default value |
UEdGraphPin ... |
FindSelfPin ( const UEdGraphNode& Node, EEdGraphPinDirection PinDirection ) |
Searches for the first Self pin with the specified direction on the node |
UFunction &#... |
FindSetVariableByNameFunction ( const FEdGraphPinType& PinType ) |
Find a 'set value by name' function for the specified pin, if it exists |
TOptional< F... |
FindSpecializedConversionNode ( const FEdGraphPinType& OutputPinTy..., const UEdGraphPin& InputPin, bool bCreateNode ) |
|
bool |
FunctionCanBePlacedAsEvent ( const UFunction* InFunction ) |
Returns whether a function is marked 'override' and doesn't have any out parameters |
bool |
FunctionCanBeUsedInDelegate ( const UFunction* InFunction ) |
Can this function be called by kismet delegate |
bool |
FunctionHasParamOfType ( const UFunction* InFunction, UEdGraph const* InGraph, const FEdGraphPinType& DesiredPinT..., bool bWantOutput ) |
Determine if a function has a parameter of a specific type. |
void |
GetAutoEmitTermParameters ( const UFunction* Function, TArray< FString >& AutoEmitParamet... ) |
Returns a list of parameters for the function that are specified as automatically emitting terms for unconnected ref parameters in the compiler (MD_AutoCreateRefTerm) |
UFunction &#... |
GetCallableParentFunction ( UFunction* Function ) |
Finds the parent function for the specified function, if any |
FText |
GetCategoryText ( FName Category, FName SubCategory, bool bForMenu ) |
Returns the FText to use for a given schema category and subcategory |
FText |
GetCategoryText ( const FName Category, const bool bForMenu ) |
Returns the FText to use for a given schema category |
FText |
GetFriendlySignatureName ( const UFunction* Function ) |
Returns friendly signature name if possible or Removes any mangling to get the unmangled signature name of the function |
void |
GetNonExistentVariableMenu ( FToolMenuSection& Section, const UEdGraphNode* InGraphNod..., UBlueprint* OwnerBlueprint ) |
Create menu for variable get/set nodes which refer to a variable which does not exist. |
void |
GetPinDefaultValuesFromString ( const FEdGraphPinType& PinType, UObject* OwningObject, const FString& NewValue, FString& UseDefaultValue, TObjectPtr< UObject >& UseDefaultO..., FText& UseDefaultText, bool bPreserveTextIdentity ) |
Reads in a FString and gets the values of the pin defaults for that type. |
bool |
GetPropertyCategoryInfo ( const FProperty* TestProperty, FName& OutCategory, FName& OutSubCategory, UObject*& OutSubCategoryObject, bool& bOutIsWeakPointer ) |
Helper function for filling out Category, SubCategory, and SubCategoryObject based on a FProperty |
void |
GetReplaceVariableMenu ( FToolMenuSection& Section, const UEdGraphNode* InGraphNod..., UBlueprint* InOwnerBlueprint, bool bInReplaceExistingVariable ) |
Create menu for variable get/set nodes which allows for the replacement of variables |
void |
GetReplaceVariableMenu ( UToolMenu* Menu, UK2Node_Variable* Variable, UBlueprint* OwnerBlueprint, bool bReplaceExistingVariable ) |
Create sub menu that shows all possible variables that can be used to replace the existing variable reference |
void |
GetVariableTypeTree ( TArray< TSharedPtr< FPinTypeTreeInf..., ETypeTreeFilter TypeTreeFilter ) |
Get the type tree for all of the property types valid for this schema |
void |
HandleParameterDefaultValueChanged ( UK2Node* TargetNode ) |
Call to let blueprint and UI know that parameters have changed for a function/macro/etc |
bool |
HasFunctionAnyOutputParameter ( const UFunction* Function ) |
Returns if function has output parameter(s) |
bool |
HasWildcardParams ( const UFunction* Function ) |
Returns true if the function has wildcard parameters, e.g. uses runtime type information that may require safe failure handling |
bool |
IsActorValidForLevelScriptRefs ( const AActor* TestActor, const UBlueprint* Blueprint ) |
Whether or not the specified actor is a valid target for bound events and literal references (in the right level, not a builder brush, etc |
bool |
IsAllowableBlueprintVariableType ( const UClass* InClass, bool bAssumeBlueprintType ) |
Returns true if this class is safe to be used as a variable in blueprints |
bool |
IsAllowableBlueprintVariableType ( const UEnum* InEnum ) |
Returns true if this enum is safe to be used as a variable in blueprints |
bool |
IsAllowableBlueprintVariableType ( const UScriptStruct* InStruct, bool bForInternalUse ) |
Returns true if this struct is safe to to be used as a variable in blueprints |
bool |
IsAutoCreateRefTerm ( const UEdGraphPin* Pin ) |
Returns true if the owning node is a function with AutoCreateRefTerm meta data |
bool |
IsCompositeGraph ( const UEdGraph* TestEdGraph ) |
Checks to see if the specified graph is a composite graph |
bool |
IsConstFunctionGraph ( const UEdGraph* TestEdGraph, bool* bOutIsEnforcingConstCorr... ) |
Checks to see if the specified graph is a const function graph |
bool |
IsConstructionScript ( const UEdGraph* TestEdGraph ) |
Checks to see if the specified graph is a construction script |
bool |
IsExecPin ( const UEdGraphPin& Pin ) |
Checks to see if a pin is an execution pin. |
bool |
IsGraphMarkedThreadSafe ( const UEdGraph* InGraph ) |
Checks if the graph is marked as thread safe |
bool |
IsIndexWildcardCompatible ( const FEdGraphPinType& PinType ) |
Returns whether a pin category is compatible with an Index Wildcard (PC_Wildcard and PSC_Index) |
bool |
IsMetaPin ( const UEdGraphPin& Pin ) |
Checks to see if a pin is a meta-pin (either a Self or Exec pin) |
bool |
IsPropertyExposedOnSpawn ( const FProperty* Property ) |
|
bool |
IsStaticFunctionGraph ( const UEdGraph* TestEdGraph ) |
Checks to see if the specified graph is a static function graph |
bool |
IsWildcardProperty ( const FProperty* ParamProperty ) |
Determines if the specified param property is intended to be used as a wildcard (for custom thunk functions, like in our array library, etc.) |
void |
LinkDataPinFromOutputToInput ( UEdGraphNode* InOutputNode, UEdGraphNode* InInputNode ) |
Make links from all data pins from InOutputNode output to InInputNode input. |
void |
MarkFunctionEntryAsEditable ( const UEdGraph* CurrentGraph, bool bNewEditable ) |
Marks the function entry of a graph as editable via function editor or not-editable |
void |
OnCreateNonExistentLocalVariable ( UK2Node_Variable* Variable, UBlueprint* OwnerBlueprint ) |
Create the local variable that the broken node refers to |
void |
OnCreateNonExistentVariable ( UK2Node_Variable* Variable, UBlueprint* OwnerBlueprint ) |
Create the variable that the broken node refers to |
void |
OnReplaceVariableForVariableNode ( UK2Node_Variable* Variable, UBlueprint* OwnerBlueprint, FName VariableName, bool bIsSelfMember ) |
Replace the variable that a variable node refers to when the variable it refers to does not exist |
bool |
PinDefaultValueIsEditable ( const UEdGraphPin& InGraphPin ) |
Returns true if the pin has a value field that can be edited inline |
bool |
PinHasCustomDefaultFormat ( const UEdGraphPin& InGraphPin ) |
Returns true if the pin has a custom default string format and it is not safe to use ExportText |
bool |
PinHasSplittableStructType ( const UEdGraphPin* InGraphPin ) |
Returns whether the supplied Pin is a splittable struct. |
bool |
ReplaceOldNodeWithNew ( UEdGraphNode* OldNode, UEdGraphNode* NewNode, const TMap< FName, FName >& OldPin... ) |
Moves all connections from the old node to the new one. |
void |
ReplaceSelectedNode ( UEdGraphNode* SourceNode, AActor* TargetActor ) |
Function to replace current graph node reference object with a new object |
TOptional< F... |
SearchForAutocastFunction ( const FEdGraphPinType& OutputPinTy..., const FEdGraphPinType& InputPinTyp... ) |
|
void |
SelectAllNodesInDirection ( TEnumAsByte< enum EEdGraphPinDirect..., UEdGraph* Graph, UEdGraphPin* InGraphPin ) |
|
void |
SetPinAutogeneratedDefaultValue ( UEdGraphPin* Pin, const FString& NewValue ) |
Sets the autogenerated default value for a pin, optionally using the passed in function and parameter. |
void |
SetPinAutogeneratedDefaultValueBasedOnType ( UEdGraphPin* Pin ) |
Sets the autogenerated default value for a pin using the default for that type. |
void |
SetPinDefaultValueAtConstruction ( UEdGraphPin* Pin, const FString& DefaultValueString ) |
Sets the pin defaults, but not autogenerated defaults, at pin construction time. |
void |
Shutdown () |
Function called when the owning module is shut down |
UK2Node_Vari... |
SpawnVariableGetNode ( const FVector2D GraphPosition, UEdGraph* ParentGraph, FName VariableName, UStruct* Source ) |
Creates a new variable getter node and adds it to ParentGraph |
UK2Node_Vari... |
SpawnVariableSetNode ( const FVector2D GraphPosition, UEdGraph* ParentGraph, FName VariableName, UStruct* Source ) |
Creates a new variable setter node and adds it to ParentGraph |
FText |
TerminalTypeToText ( const FName Category, const FName SubCategory, UObject* SubCategoryObject, bool bIsWeakPtr ) |
Converts a terminal type into a fully qualified FText (e.g., object'ObjectName'). |
FText |
TypeToText ( const FProperty*const Property ) |
Converts the type of a property into a fully qualified string (e.g., object'ObjectName'). |
FText |
TypeToText ( const FEdGraphPinType& Type ) |
Converts a pin type into a fully qualified FText (e.g., object'ObjectName'). |
void |
ValidateExistingConnections ( UEdGraphPin* Pin ) |
Utility that makes sure existing connections are valid, breaking any that are now illegal. |