Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_Literal
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_Literal.h |
| Include | #include "K2Node_Literal.h" |
Syntax
class UK2Node_Literal : public UK2Node
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_Literal
(
const FObjectInitializer& ObjectInitializer |
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 | |
|---|---|---|---|
| FNodeHandlingFunctor * | CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
||
| ERedirectType | DoPinsMatchForReconstruction
(
const UEdGraphPin* NewPin, |
Whether or not two pins match for purposes of reconnection after reconstruction. | |
| bool | Return whether to draw this node as a small variable node | ||
| void | GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | |
| AActor * | 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 | Return true if adding/removing this node requires calling MarkBlueprintAsStructurallyModified on the Blueprint | ||
| void | Called at the end of ReconstructNode, allows node specific work to be performed |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | 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 | Gets the draw color of a node's title bar | ||
| FText | Gets the tooltip to display when over the node | ||
| bool | Whether or not this node should be given the chance to override pin names. |