Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_EditablePinBase
- UK2Node_Event
- UK2Node_CustomEvent
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_CustomEvent.h |
| Include | #include "K2Node_CustomEvent.h" |
Syntax
class UK2Node_CustomEvent : public UK2Node_Event
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCallInEditor | Specifies that the event can be triggered in Editor | |
| bool | bIsDeprecated | Specifies that usage of this event has been deprecated | |
| FString | DeprecationMessage | Optional message to display when the event is deprecated |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_CustomEvent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UK2Node_CustomEvent * | CreateFromFunction
(
FVector2D GraphPosition, |
||
| uint32 | GetNetFlags () |
If a CustomEvent overrides another CustomEvent, then it inherits the super's net flags. | |
| FKismetUserDeclaredFunctionMetadata & | |||
| bool | IsOverride () |
Discernible from the base UK2Node_Event's bOverrideFunction field. | |
| void | RenameCustomEventCloseToName
(
int32 StartIndex |
Rename this custom event to have unique name. | |
| void | SetDelegateSignature
(
const UFunction* DelegateSignature |
Updates the Signature of this event. |
Overridden from UK2Node_Event
| Type | Name | Description | |
|---|---|---|---|
| bool |
Overridden from UK2Node_EditablePinBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. | |
| UEdGraphPin * | CreatePinFromUserDefinition
(
const TSharedPtr< FUserPinInfo > NewPinInfo |
Creates a new pin on the node from the specified user pin info. | |
| bool | IsEditable () |
||
| bool | ModifyUserDefinedPinDefaultValue
(
TSharedPtr< FUserPinInfo > PinInfo, |
Modifies the default value of an existing pin on the node, this will update both the UserPinInfo and the linked editor pin | |
| bool | Should this node require 'const' for pass-by-reference parameters? |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| void | FixupPinStringDataReferences
(
FArchive* SavingArchive |
Fixes up structure/soft object ref pins, on both save and load | |
| void | GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | |
| bool | Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | AddSearchMetaDataInfo
(
TArray< struct FSearchTagDataPair >& OutTaggedMetaData |
Add's node data to the search metadata, override to collect more data that may be desirable to search for | |
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
Autowire a newly created node. | |
| FEdGraphNodeDeprecationResponse | GetDeprecationResponse
(
EEdGraphNodeDeprecationType DeprecationType |
Returns the response to use when reporting a deprecation. | |
| FString | Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix) | ||
| FString | Returns the link used for external documentation for the graph node | ||
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FText | GetKeywords () |
Returns the keywords that should be used when searching for this node | |
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| FText | Gets the tooltip to display when over the node | ||
| bool | Returns true if this node references a deprecated type or member. | ||
| bool | HasExternalDependencies
(
TArray< class UStruct* >* OptionalOutput |
Returns whether or not this node has dependencies on an external structure If OptionalOutput isn't null, it should be filled with the known dependencies objects (Classes, Structures, Functions, etc). | |
| TSharedPtr< class INameValidatorInterface > | Create a name validator for this node | ||
| void | OnRenameNode
(
const FString& NewName |
Called when this node is being renamed after a successful name validation | |
| void | Refresh the connectors on a node, preserving as many connections as it can. | ||
| void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. |