#include <EdGraphPin.h>
◆ ~UEdGraphPin()
| UEdGraphPin::~UEdGraphPin |
( |
| ) |
|
◆ AddStructReferencedObjects()
Provides a reference collector with all object references this pin has. Should only be called by the owning node.
◆ AreOrphanPinsEnabled()
| bool UEdGraphPin::AreOrphanPinsEnabled |
( |
| ) |
|
|
static |
◆ AssignByRefPassThroughConnection()
| void UEdGraphPin::AssignByRefPassThroughConnection |
( |
UEdGraphPin * |
InTargetPin | ) |
|
Connects the two pins as by-ref pass-through, allowing the input to auto-forward to the output pin
◆ BreakAllPinLinks()
Break all links from this pin
◆ BreakLinkTo()
Break a link to the specified pin (if present)
◆ CopyPersistentDataFromOldPin()
| void UEdGraphPin::CopyPersistentDataFromOldPin |
( |
const UEdGraphPin & |
SourcePin | ) |
|
Copies the persistent data (across a node refresh) from the SourcePin.
- Parameters
-
◆ CreatePin()
Creates a new pin. Should be called from the OwningNode so it can be immediately added to the Pins array.
◆ CreatePinFromDeprecatedPin()
Transition support for UEdGraphPins
◆ DoesDefaultValueMatchAutogenerated()
| bool UEdGraphPin::DoesDefaultValueMatchAutogenerated |
( |
| ) |
const |
Returns true if the current default value matches the autogenerated default value
◆ ExportTextItem()
| bool UEdGraphPin::ExportTextItem |
( |
FString & |
ValueStr, |
|
|
int32 |
PortFlags |
|
) |
| const |
◆ FindPinCreatedFromDeprecatedPin()
◆ GetComplementaryDirection()
Direction flipping utility; returns the complementary direction
◆ GetDefaultAsString()
| FString UEdGraphPin::GetDefaultAsString |
( |
| ) |
const |
Returns an internal string representation of the string/object/text default value, that is compatible with AutogeneratedDefaultValue and ImportText
- Note
- Do not directly compare this value with another to test for a default value. Instead use DoesDefaultValueMatch or DoesDefaultValueMatchAutogenerated on the schema.
◆ GetDefaultAsText()
| FText UEdGraphPin::GetDefaultAsText |
( |
| ) |
const |
Returns a human readable FText representation of the string/object/text default value
◆ GetFName()
| const FName UEdGraphPin::GetFName |
( |
| ) |
const |
|
inline |
◆ GetLinkInfoString()
| const FString UEdGraphPin::GetLinkInfoString |
( |
const FString & |
InFunctionName, |
|
|
const FString & |
InInfoData, |
|
|
const UEdGraphPin * |
InToPin |
|
) |
| const |
Generate a string detailing the link this pin has to another pin.
@Param InFunctionName String with function name requesting the info @Param InInfoData String detailing the info (EG. Is Not linked to) @Param InToPin The relevant pin
◆ GetName()
| const FString UEdGraphPin::GetName |
( |
| ) |
const |
|
inline |
◆ GetOuter()
◆ GetOwningNode()
Returns the node that owns this pin
◆ GetOwningNodeUnchecked()
| class UEdGraphNode * UEdGraphPin::GetOwningNodeUnchecked |
( |
| ) |
const |
|
inline |
◆ GetPrimaryTerminalType()
◆ GetSchema()
Shorthand way to access the schema of the graph that owns the node that owns this pin
◆ HasAnyConnections()
| bool UEdGraphPin::HasAnyConnections |
( |
| ) |
const |
Returns true if there are entries in the pin's LinkedTo array, or if it has SubPins, one of their SubPins arrays:
◆ ImportTextItem()
◆ IsDefaultAsStringEmpty()
| bool UEdGraphPin::IsDefaultAsStringEmpty |
( |
| ) |
const |
Returns true if GetDefaultAsString will return an empty string.
◆ IsPendingKill()
| bool UEdGraphPin::IsPendingKill |
( |
| ) |
const |
|
inline |
◆ MakeLinkTo()
Create a link. Note, this does not check that schema allows it, and will not break any existing connections
◆ MarkAsGarbage()
| void UEdGraphPin::MarkAsGarbage |
( |
| ) |
|
Marks the pin as 'trashed'. Does not remove the pin from the Owning Node's Pins list
◆ Modify()
Marks the owning node as modified.
◆ MovePersistentDataFromOldPin()
Moves the persistent data (across a node refresh) from the SourcePin.
- Parameters
-
◆ Purge()
| void UEdGraphPin::Purge |
( |
| ) |
|
|
static |
◆ ResetDefaultValue()
| void UEdGraphPin::ResetDefaultValue |
( |
| ) |
|
|
inline |
Reset default values to empty. This should not be called when AutogeneratedDefaultValue needs to be respected!
◆ ResetToDefaults()
| void UEdGraphPin::ResetToDefaults |
( |
| ) |
|
|
inline |
Resets node to default constructor state
◆ ResolveAllPinReferences()
| void UEdGraphPin::ResolveAllPinReferences |
( |
| ) |
|
|
static |
This needs to be called if you want to use pin data within PostEditUndo
◆ SafeSetHidden()
| void UEdGraphPin::SafeSetHidden |
( |
bool |
bIsHidden | ) |
|
|
inline |
Helper to safely set a pin's bHidden property only if it has no sub-pins that are influencing it to be hidden
◆ SanitizePinsPostUndoRedo()
| void UEdGraphPin::SanitizePinsPostUndoRedo |
( |
| ) |
|
|
static |
◆ SerializeAsOwningNode()
Serializes an array of pins as the owner. Only the OwningNode should call this function.
◆ SetOwningNode()
Changes the owning node. This will remove the pin from the old owning node's pin list and add itself to the new node's pin list.
◆ ShutdownVerification()
| void UEdGraphPin::ShutdownVerification |
( |
| ) |
|
|
static |
Verification that all pins have been destroyed after shutting down
◆ WasTrashed()
| bool UEdGraphPin::WasTrashed |
( |
| ) |
const |
|
inline |
Returns true if InvalidateAndTrash was ever called on this pin.
◆ FEdGraphPinReference
◆ AutogeneratedDefaultValue
| FString UEdGraphPin::AutogeneratedDefaultValue |
Initial default value (the autogenerated value, to identify if the user has modified the value), stored as a string
◆ bWasTrashed
| uint8 UEdGraphPin::bWasTrashed |
True when InvalidateAndTrash was called. This pin is intended to be discarded and destroyed.
◆ DefaultObject
If the default value for this pin should be an object, we store a pointer to it
◆ DefaultTextValue
| FText UEdGraphPin::DefaultTextValue |
If the default value for this pin should be an FText, it is stored here.
◆ DefaultValue
| FString UEdGraphPin::DefaultValue |
Default value for this pin (used if the pin has no connections), stored as a string
◆ Direction
Direction of flow of this pin (input or output)
◆ LinkedTo
Set of pins that we are linked to
◆ ParentPin
The pin that was split and generated this pin
◆ PinId
◆ PinName
| FName UEdGraphPin::PinName |
◆ PinToolTip
| FString UEdGraphPin::PinToolTip |
Used as the display name if set. The tool-tip describing this pin's purpose
◆ PinType
The type of information carried on this pin
◆ ReferencePassThroughConnection
| UEdGraphPin* UEdGraphPin::ReferencePassThroughConnection |
Pin that this pin uses for passing through reference connection
◆ SourceIndex
| int32 UEdGraphPin::SourceIndex |
Index of the pin in the source data structure represented by the graph, INDEX_NONE if not used
◆ SubPins
The pins created when a pin is split and hidden
The documentation for this class was generated from the following files: