UK2Node_Literal

Unreal Engine C++ API Reference > Editor > BlueprintGraph

Inheritance Hierarchy

References

   
Module BlueprintGraph
Header /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Literal.h
Include #include "K2Node_Literal.h"

Syntax

class UK2Node_Literal : public [UK2Node](API\Editor\BlueprintGraph\UK2Node)  

Constructors

Type Name Description
  UK2Node_Literal ( const FObjectInitializer& ObjectIn... )  

Functions

Type Name Description
UObject *... GetObjectRef () Gets the referenced object
UEdGraphPin ... GetValuePin () Accessor for the value pin of the node
void SetObjectRef ( UObject* NewValue ) Sets the LiteralValue for the pin, and changes the pin type, if necessary

Overridden from UK2Node

Type Name Description
FNodeHandlin... CreateNodeHandler ( FKismetCompilerContext& CompilerCo... )  
ERedirectTyp... DoPinsMatchForReconstruction ( const UEdGraphPin* NewPin, int32 NewPinIndex, const UEdGraphPin* OldPin, int32 OldPinIndex ) Whether or not two pins match for purposes of reconnection after reconstruction.
bool DrawNodeAsVariable () Return whether to draw this node as a small variable node
void GetMenuActions ( FBlueprintActionDatabaseRegistrar&... ) Replacement for GetMenuEntries().
AActor * GetReferencedLevelActor () If this node references an actor in the level that should be selectable by "Find Actors In Level," this will return a reference to that actor
bool IsNodePure () Returns whether this node is considered 'pure' by the compiler
bool NodeCausesStructuralBlueprintChange () Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint
void PostReconstructNode () Called at the end of ReconstructNode, allows node specific work to be performed

Overridden from UEdGraphNode

Type Name Description
void AllocateDefaultPins () Allocate default pins for a given node, based only the NodeType, which should already be filled in.
FSlateIcon GetIconAndTint ( FLinearColor& OutColor )  
FText GetNodeTitle ( ENodeTitleType::Type TitleType ) Gets the name of this node, shown in title bar
FLinearColor GetNodeTitleColor () Gets the draw color of a node's title bar
FText GetTooltipText () Gets the tooltip to display when over the node
bool ShouldOverridePinNames () Whether or not this node should be given the chance to override pin names.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library