Navigation
API > API/Plugins > API/Plugins/PCGEditor
| Name | UPCGEditorGraphNodeBase |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCGEditor/Public/Nodes/PCGEditorGraphNodeBase.h |
| Include Path | #include "Nodes/PCGEditorGraphNodeBase.h" |
Syntax
UCLASS ()
class UPCGEditorGraphNodeBase : public UEdGraphNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UPCGEditorGraphNodeBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGEditorGraphNodeBase
(
const FObjectInitializer& ObjectInitializer |
Nodes/PCGEditorGraphNodeBase.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnPCGEditorGraphNodeChanged | TBaseDelegate_NoParams< void > | Nodes/PCGEditorGraphNodeBase.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnNodeChangedDelegate | FOnPCGEditorGraphNodeChanged | Nodes/PCGEditorGraphNodeBase.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanConvertToDefaultValueMetadataType
(
FName PinLabel, |
The target type is valid for this pin's default value and this pin is not already this type. | Nodes/PCGEditorGraphNodeBase.h | |
bool CanResetPinDefaultValue
(
FName PinLabel |
The pin can be reset back to the default value. | Nodes/PCGEditorGraphNodeBase.h | |
bool CanUserAddRemoveDynamicInputPins() |
Nodes/PCGEditorGraphNodeBase.h | ||
bool CanUserRemoveDynamicInputPin
(
UEdGraphPin* InPinToRemove |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void Construct
(
UPCGNode* InPCGNode |
Nodes/PCGEditorGraphNodeBase.h | ||
void ConvertPinDefaultValueMetadataType
(
FName PinLabel, |
User is converting the default value type on the pin. | Nodes/PCGEditorGraphNodeBase.h | |
void DisableDeferredReconstruct() |
Decrease deferred reconstruct counter, ReconstructNode will be called if counter hits zero and the node is flagged for reconstruction | Nodes/PCGEditorGraphNodeBase.h | |
void EnableDeferredReconstruct() |
Increase deferred reconstruct counter, calls to ReconstructNode will flag reconstruct to happen when count hits zero | Nodes/PCGEditorGraphNodeBase.h | |
FText GetAuthoredTitleLine() |
Authored part of node title (like "Create Attribute X"). | Nodes/PCGEditorGraphNodeBase.h | |
IPCGSettingsDefaultValueProvider * GetDefaultValueInterface() |
Nodes/PCGEditorGraphNodeBase.h | ||
FText GetGeneratedTitleLine() |
Generated part of node title, not user editable (like "X = 5.0"). | Nodes/PCGEditorGraphNodeBase.h | |
EPCGHiGenGrid GetGenerationGrid() |
The grid that this node executes on if higen is enabled, otherwise Unitialized. | Nodes/PCGEditorGraphNodeBase.h | |
uint64 GetInactiveOutputPinMask() |
Bitmask of inactive output pins. Bit N will be set if output pin index N is inactive. | Nodes/PCGEditorGraphNodeBase.h | |
bool GetInspected() |
Nodes/PCGEditorGraphNodeBase.h | ||
EPCGHiGenGrid GetInspectedGenerationGrid() |
The higen grid currently being inspected if any, otherwise Uninitialized. | Nodes/PCGEditorGraphNodeBase.h | |
UPCGNode * GetPCGNode () |
Nodes/PCGEditorGraphNodeBase.h | ||
const UPCGNode * GetPCGNode () |
Nodes/PCGEditorGraphNodeBase.h | ||
EPCGMetadataTypes GetPinDefaultValueType
(
FName PinLabel |
Get the default value type on the pin. | Nodes/PCGEditorGraphNodeBase.h | |
UPCGSettings * GetSettings() |
Nodes/PCGEditorGraphNodeBase.h | ||
bool GetTriggeredGPUReadback() |
Nodes/PCGEditorGraphNodeBase.h | ||
bool GetTriggeredGPUUpload() |
Nodes/PCGEditorGraphNodeBase.h | ||
bool HasFlippedTitleLines() |
Whether to flip the order of the title lines - display generated title first and authored second. | Nodes/PCGEditorGraphNodeBase.h | |
| Whether this OutputPin can be connected to this InputPin | Nodes/PCGEditorGraphNodeBase.h | ||
bool IsCulledFromExecution() |
Nodes/PCGEditorGraphNodeBase.h | ||
bool IsOutputPinActive
(
const UEdGraphPin* InOutputPin |
Whether the given output pin was active in the previous execution. | Nodes/PCGEditorGraphNodeBase.h | |
bool IsPinDefaultValueActivated
(
FName PinLabel |
The pin has a default value and is currently active. | Nodes/PCGEditorGraphNodeBase.h | |
bool IsPinDefaultValueEnabled
(
FName PinLabel |
The pin has default value inline constants enabled. | Nodes/PCGEditorGraphNodeBase.h | |
bool IsSettingsDefaultValuesEnabled() |
The settings support default value inline constants. | Nodes/PCGEditorGraphNodeBase.h | |
void OnConvertNode
(
const FPCGPreconfiguredInfo& ConversionInfo |
Nodes/PCGEditorGraphNodeBase.h | ||
void OnUserAddDynamicInputPin() |
Nodes/PCGEditorGraphNodeBase.h | ||
void OnUserRemoveDynamicInputPin
(
UEdGraphPin* InRemovedPin |
Nodes/PCGEditorGraphNodeBase.h | ||
void OnUserResetPinDefaultValue
(
FName PinLabel, |
User is resetting the inline constant value back to the default. | Nodes/PCGEditorGraphNodeBase.h | |
void OnUserSetPinDefaultValueActivated
(
FName PinLabel, |
User activated or deactivated the inline constant value. | Nodes/PCGEditorGraphNodeBase.h | |
void PostCopy() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PostPaste() |
Nodes/PCGEditorGraphNodeBase.h | ||
void RebuildAfterPaste() |
Nodes/PCGEditorGraphNodeBase.h | ||
void SetInspected
(
bool bInIsInspecting |
Nodes/PCGEditorGraphNodeBase.h | ||
void SetIsCulledFromExecution
(
bool bInIsCulledFromExecution |
Whether node was culled either during compilation or at execution time. | Nodes/PCGEditorGraphNodeBase.h | |
void SetTriggeredGPUReadback
(
bool bInTriggeredGPUReadback |
Nodes/PCGEditorGraphNodeBase.h | ||
void SetTriggeredGPUUpload
(
bool bInTriggeredGPUUpload |
Nodes/PCGEditorGraphNodeBase.h | ||
EPCGChangeType UpdateErrorsAndWarnings() |
Pulls current errors/warnings state from PCG subsystem. | Nodes/PCGEditorGraphNodeBase.h | |
EPCGChangeType UpdateGPUVisualization
(
const IPCGGraphExecutionSource* InSourceBeingDebugged, |
Nodes/PCGEditorGraphNodeBase.h | ||
EPCGChangeType UpdateStructuralVisualization
(
const IPCGGraphExecutionSource* InSourceBeingDebugged, |
If the currently inspected grid size is smaller than the grid size of this node, display transparent. | Nodes/PCGEditorGraphNodeBase.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AutowireNewNode
(
UEdGraphPin* FromPin |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual bool CanCreateUnderSpecifiedSchema
(
const UEdGraphSchema* Schema |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual UObject * GetJumpTargetForDoubleClick() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual FLinearColor GetNodeBodyTintColor() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void GetNodeContextMenuActions
(
UToolMenu* Menu, |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual FLinearColor GetNodeTitleColor() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void GetPinHoverText
(
const UEdGraphPin& Pin, |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual FText GetTooltipText() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void OnCommentBubbleToggled
(
bool bInCommentBubbleVisible |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void OnUpdateCommentText
(
const FString& NewComment |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PinConnectionListChanged
(
UEdGraphPin* Pin |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PinDefaultValueChanged
(
UEdGraphPin* Pin |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PostPasteNode() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PrepareForCopying() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void ReconstructNode() |
Nodes/PCGEditorGraphNodeBase.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PostLoad() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void PostTransacted
(
const FTransactionObjectEvent& TransactionEvent |
Nodes/PCGEditorGraphNodeBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanPickColor() |
Nodes/PCGEditorGraphNodeBase.h | ||
| Nodes/PCGEditorGraphNodeBase.h | |||
| Returns the appropriate pin name to allow for some flexibility. | Nodes/PCGEditorGraphNodeBase.h | ||
virtual void OnColorPicked
(
FLinearColor NewColor |
Nodes/PCGEditorGraphNodeBase.h | ||
void OnNodeChanged
(
UPCGNode* InNode, |
Nodes/PCGEditorGraphNodeBase.h | ||
void OnPickColor() |
Nodes/PCGEditorGraphNodeBase.h | ||
void RebuildEdgesFromPins() |
Create PCG-side edges from editor pins/edges. | Nodes/PCGEditorGraphNodeBase.h | |
virtual void RebuildEdgesFromPins_Internal() |
Nodes/PCGEditorGraphNodeBase.h | ||
virtual void ReconstructNodeOnChange() |
Performs potentially custom logic when there's a change that would trigger a reconstruct (needed for linked nodes like the named reroutes) | Nodes/PCGEditorGraphNodeBase.h | |
virtual bool ShouldCreatePin
(
const UPCGPin* InPin |
Custom logic to hide some pins to the user (by not creating a UI pin, even if the model pin exists). | Nodes/PCGEditorGraphNodeBase.h | |
void UpdateCommentBubblePinned() |
Nodes/PCGEditorGraphNodeBase.h | ||
void UpdatePosition() |
Nodes/PCGEditorGraphNodeBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FEdGraphPinType GetPinType
(
const UPCGPin* InPin |
Nodes/PCGEditorGraphNodeBase.h |