Navigation
API > API/Editor > API/Editor/BlueprintGraph
| Name | UK2Node_CustomEvent |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_CustomEvent.h |
| Include Path | #include "K2Node_CustomEvent.h" |
Syntax
UCLASS (MinimalAPI)
class UK2Node_CustomEvent : public UK2Node_Event
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_EditablePinBase → UK2Node_Event → UK2Node_CustomEvent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UK2Node_CustomEvent
(
const FObjectInitializer& ObjectInitializer |
K2Node_CustomEvent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCallInEditor | bool | Specifies that the event can be triggered in Editor | K2Node_CustomEvent.h | |
| bIsDeprecated | bool | Specifies that usage of this event has been deprecated | K2Node_CustomEvent.h | |
| DeprecationMessage | FString | Optional message to display when the event is deprecated | K2Node_CustomEvent.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedNodeTitle | FNodeTextCache | Constructing FText strings can be costly, so we cache the node's title | K2Node_CustomEvent.h | |
| MetaData | FKismetUserDeclaredFunctionMetadata | Custom event metadata that can be used for adding custom keywords | K2Node_CustomEvent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetNetFlags () |
If a CustomEvent overrides another CustomEvent, then it inherits the super's net flags. | K2Node_CustomEvent.h | |
FKismetUserDeclaredFunctionMetadata & GetUserDefinedMetaData() |
K2Node_CustomEvent.h | ||
bool IsOverride () |
Discernible from the base UK2Node_Event's bOverrideFunction field. | K2Node_CustomEvent.h | |
void RenameCustomEventCloseToName
(
int32 StartIndex |
Rename this custom event to have unique name. | K2Node_CustomEvent.h | |
void SetDelegateSignature
(
const UFunction* DelegateSignature |
Updates the Signature of this event. | K2Node_CustomEvent.h |
Overridden from UK2Node_Event
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsUsedByAuthorityOnlyDelegate() |
K2Node_CustomEvent.h |
Overridden from UK2Node_EditablePinBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. | K2Node_CustomEvent.h | |
virtual UEdGraphPin * CreatePinFromUserDefinition
(
const TSharedPtr< FUserPinInfo > NewPinInfo |
Creates a new pin on the node from the specified user pin info. | K2Node_CustomEvent.h | |
virtual bool IsEditable() |
K2Node_CustomEvent.h | ||
virtual 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 | K2Node_CustomEvent.h | |
virtual bool ShouldUseConstRefParams() |
Should this node require 'const' for pass-by-reference parameters? | K2Node_CustomEvent.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FixupPinStringDataReferences
(
FArchive* SavingArchive |
Fixes up structure/soft object ref pins, on both save and load | K2Node_CustomEvent.h | |
virtual void GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | K2Node_CustomEvent.h | |
virtual bool NodeCausesStructuralBlueprintChange() |
Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint | K2Node_CustomEvent.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSearchMetaDataInfo
(
TArray< struct FSearchTagDataPair >& OutTaggedMetaData |
K2Node_CustomEvent.h | ||
virtual void AutowireNewNode
(
UEdGraphPin* FromPin |
K2Node_CustomEvent.h | ||
virtual FEdGraphNodeDeprecationResponse GetDeprecationResponse
(
EEdGraphNodeDeprecationType DeprecationType |
K2Node_CustomEvent.h | ||
virtual FString GetDocumentationExcerptName() |
K2Node_CustomEvent.h | ||
virtual FString GetDocumentationLink() |
K2Node_CustomEvent.h | ||
virtual FSlateIcon GetIconAndTint
(
FLinearColor& OutColor |
K2Node_CustomEvent.h | ||
virtual FText GetKeywords() |
K2Node_CustomEvent.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
K2Node_CustomEvent.h | ||
virtual FText GetTooltipText() |
K2Node_CustomEvent.h | ||
virtual bool HasDeprecatedReference() |
K2Node_CustomEvent.h | ||
| K2Node_CustomEvent.h | |||
virtual TSharedPtr< class INameValidatorInterface > MakeNameValidator() |
K2Node_CustomEvent.h | ||
virtual void OnRenameNode
(
const FString& NewName |
K2Node_CustomEvent.h | ||
virtual void ReconstructNode() |
K2Node_CustomEvent.h | ||
virtual void ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
K2Node_CustomEvent.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FArchive& Ar |
K2Node_CustomEvent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UK2Node_CustomEvent * CreateFromFunction
(
FVector2D GraphPosition, |
K2Node_CustomEvent.h |