Navigation
API > API/Editor > API/Editor/BlueprintGraph
| Name | UK2Node_ConstructObjectFromClass |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_ConstructObjectFromClass.h |
| Include Path | #include "K2Node_ConstructObjectFromClass.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UK2Node_ConstructObjectFromClass : public UK2Node
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_ConstructObjectFromClass
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UK2Node_ConstructObjectFromClass
(
const FObjectInitializer& ObjectInitializer |
K2Node_ConstructObjectFromClass.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreatePinsForClass
(
UClass* InClass, |
Create new pins to show properties on archetype | K2Node_ConstructObjectFromClass.h | |
UEdGraphPin * GetClassPin
(
const TArray< UEdGraphPin* >* InPinsToSearch |
Get the blueprint input pin | K2Node_ConstructObjectFromClass.h | |
UClass * GetClassToSpawn
(
const TArray< UEdGraphPin* >* InPinsToSearch |
Get the class that we are going to spawn, if it's defined as default value | K2Node_ConstructObjectFromClass.h | |
UEdGraphPin * GetOuterPin() |
Get the result input pin | K2Node_ConstructObjectFromClass.h | |
UEdGraphPin * GetResultPin() |
Get the result output pin | K2Node_ConstructObjectFromClass.h | |
UEdGraphPin * GetWorldContextPin() |
Get the world context input pin, can return NULL | K2Node_ConstructObjectFromClass.h | |
virtual bool IsSpawnVarPin
(
UEdGraphPin* Pin |
See if this is a spawn variable pin, or a 'default' pin | K2Node_ConstructObjectFromClass.h | |
virtual bool UseOuter() |
Returns if the node uses Outer input | K2Node_ConstructObjectFromClass.h | |
virtual bool UseWorldContext() |
Returns if the node uses World Object Context input | K2Node_ConstructObjectFromClass.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ERedirectType DoPinsMatchForReconstruction
(
const UEdGraphPin* NewPin, |
Whether or not two pins match for purposes of reconnection after reconstruction. | K2Node_ConstructObjectFromClass.h | |
virtual void GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | K2Node_ConstructObjectFromClass.h | |
virtual FText GetMenuCategory() |
Override to provide a default category for specific node types to be listed under. | K2Node_ConstructObjectFromClass.h | |
virtual void GetNodeAttributes
(
TArray< TKeyValuePair< FString, FString > >& OutNodeAttributes |
This function returns an arbitrary number of attributes that describe this node for analytics events | K2Node_ConstructObjectFromClass.h | |
virtual bool IsNodeSafeToIgnore() |
Query if this is a node that is safe to ignore (e.g., a comment node or other non-structural annotation that can be pruned with no warnings). | K2Node_ConstructObjectFromClass.h | |
virtual void ReallocatePinsDuringReconstruction
(
TArray< UEdGraphPin* >& OldPins |
Reallocate pins during reconstruction; by default ignores the old pins and calls AllocateDefaultPins() If you override this to create additional pins you likely need to call RestoreSplitPins to restore any pins that have been split (e.g. a vector pin split into its components) | K2Node_ConstructObjectFromClass.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddSearchMetaDataInfo
(
TArray< struct FSearchTagDataPair >& OutTaggedMetaData |
K2Node_ConstructObjectFromClass.h | ||
virtual void AllocateDefaultPins() |
K2Node_ConstructObjectFromClass.h | ||
virtual FText GetKeywords() |
K2Node_ConstructObjectFromClass.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
K2Node_ConstructObjectFromClass.h | ||
virtual void GetPinHoverText
(
const UEdGraphPin& Pin, |
K2Node_ConstructObjectFromClass.h | ||
| K2Node_ConstructObjectFromClass.h | |||
virtual FText GetTooltipText() |
K2Node_ConstructObjectFromClass.h | ||
| K2Node_ConstructObjectFromClass.h | |||
virtual bool IsCompatibleWithGraph
(
const UEdGraph* TargetGraph |
K2Node_ConstructObjectFromClass.h | ||
virtual void PinConnectionListChanged
(
UEdGraphPin* Pin |
K2Node_ConstructObjectFromClass.h | ||
virtual void PinDefaultValueChanged
(
UEdGraphPin* Pin |
K2Node_ConstructObjectFromClass.h | ||
virtual void PostPlacedNewNode() |
K2Node_ConstructObjectFromClass.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FText GetBaseNodeTitle() |
Gets the node for use in lists and menus | K2Node_ConstructObjectFromClass.h | |
virtual UClass * GetClassPinBaseClass() |
Gets base class to use for the 'class' pin. UObject by default. | K2Node_ConstructObjectFromClass.h | |
virtual FText GetDefaultNodeTitle() |
Gets the default node title when no class is selected | K2Node_ConstructObjectFromClass.h | |
virtual FText GetNodeTitleFormat() |
Gets the node title when a class has been selected. | K2Node_ConstructObjectFromClass.h | |
void OnClassPinChanged() |
Refresh pins when class was changed | K2Node_ConstructObjectFromClass.h | |
void SetPinToolTip
(
UEdGraphPin& MutatablePin, |
Takes the specified "MutatablePin" and sets its 'PinToolTip' field (according to the specified description) | K2Node_ConstructObjectFromClass.h |