Navigation
API > API/Plugins > API/Plugins/PCG
Issues a specified message to the log, and optionally to the graph and/or screen. Note: This node will not function in shipping builds.
| Name | UPCGPrintElementSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGPrintElement.h |
| Include Path | #include "Elements/PCGPrintElement.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural), Meta=(Keywords="debug print string"))
class UPCGPrintElementSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGPrintElementSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisplayOnNode | bool | Display warnings or errors on this node. | Elements/PCGPrintElement.h |
|
| bEnablePrint | bool | Enable the functionality of this node. Disable to bypass printing. | Elements/PCGPrintElement.h |
|
| bPrefixWithComponent | bool | Prefix the message with the name of the component. | Elements/PCGPrintElement.h |
|
| bPrefixWithGraph | bool | Prefix the message with the name of the graph. | Elements/PCGPrintElement.h |
|
| bPrefixWithNode | bool | Prefix the message with the name of the node. | Elements/PCGPrintElement.h |
|
| bPrefixWithOwner | bool | Prefix the message with the name of the component's owner. | Elements/PCGPrintElement.h |
|
| bPrintPerComponent | bool | Use the component as part of the key hash and print a message for each component with this node. | Elements/PCGPrintElement.h |
|
| bPrintToScreen | bool | Print the message to the editor viewport. | Elements/PCGPrintElement.h |
|
| CustomPrefix | FString | A prefix to which the core message will be appended. | Elements/PCGPrintElement.h |
|
| PrintString | FString | The core message to print to the logger, graph, and/or screen. | Elements/PCGPrintElement.h |
|
| PrintToScreenColor | FColor | The color of the on screen message. | Elements/PCGPrintElement.h |
|
| PrintToScreenDuration | double | The duration (in seconds) of the on screen message. | Elements/PCGPrintElement.h |
|
| Verbosity | EPCGPrintVerbosity | The verbosity level of the printed message. | Elements/PCGPrintElement.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGPrintElement.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGPrintElement.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGPrintElement.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGPrintElement.h | ||
virtual bool HasDynamicPins() |
If the node has any dynamic pins that can change based on input or settings | Elements/PCGPrintElement.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGPrintElement.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGPrintElement.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGPrintElement.h |