Navigation
API > API/Editor > API/Editor/UnrealEd
A weak reference to a UEdGraphPin object that can remain valid through pin connection state changes that might trigger owner node reconstruction
| Name | FWeakGraphPinPtr |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EdGraphUtilities.h |
| Include Path | #include "EdGraphUtilities.h" |
Syntax
struct FWeakGraphPinPtr
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | EdGraphUtilities.h | ||
FWeakGraphPinPtr
(
const FWeakGraphPinPtr& OtherPinPtr |
Construct from another weak pointer | EdGraphUtilities.h | |
FWeakGraphPinPtr
(
const UEdGraphPin* Pin |
Construct from a UEdGraphPin object pointer | EdGraphUtilities.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NodeObjectPtr | TWeakObjectPtr< class UEdGraphNode > | Weak reference to the UEdGraphNode object that owns the pin object | EdGraphUtilities.h | |
| PinName | FName | Pin name string | EdGraphUtilities.h | |
| PinReference | FEdGraphPinReference | Weak reference to the UEdGraphPin object | EdGraphUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEdGraphPin * Get () |
Method to obtain the actual object reference from the weak pointer. | EdGraphUtilities.h | |
bool IsValid() |
Test for validity | EdGraphUtilities.h | |
void Reset() |
Reset the weak pointer back to NULL state | EdGraphUtilities.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator class UEdGraphPin *() |
Cast to object pointer type | EdGraphUtilities.h | |
bool operator!=
(
const FWeakGraphPinPtr& OtherPinPtr |
Compare weak pointers for inequality | EdGraphUtilities.h | |
void operator=
(
const FWeakGraphPinPtr& OtherPinPtr |
Assign from another weak pointer | EdGraphUtilities.h | |
void operator=
(
const UEdGraphPin* Pin |
Assign from a UEdGraphPin object pointer | EdGraphUtilities.h | |
bool operator==
(
const FWeakGraphPinPtr& OtherPinPtr |
Compare weak pointers for equality | EdGraphUtilities.h | |
UEdGraphPin * operator->() |
Arrow operator | EdGraphUtilities.h |