UK2Node_ConvertAsset

This node converts between hard and soft references, for both objects and classes.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Classes/K2Node_ConvertAsset.h

Include

#include "K2Node_ConvertAsset.h"

Syntax

class UK2Node_ConvertAsset : public UK2Node

Remarks

This node converts between hard and soft references, for both objects and classes. The name is historical from when they were called asset IDs

Functions

Name Description

Public function Const

UClass *

 

GetTargetClass()

Returns the class for the object being converted

Public function Const

bool

 

IsClassType()

True if this is converting a class, false for object or unknown

Public function Const

bool

 

IsConvertToSoft()

True if this is going from hard to soft, false for opposite or unknown

Protected function

void

 

RefreshPinTypes()

Overridden from UK2Node

Name Description

Public function Virtual Const

bool

 

DoesInputWildcardPinAcceptArray

(
    const UEdGraphPin* Pin
)

Public function Virtual Const

bool

 

DoesOutputWildcardPinAcceptContainer

(
    const UEdGraphPin* Pin
)

Public function Virtual Const

ERedirectTyp...

 

DoPinsMatchForReconstruction

(
    const UEdGraphPin* NewPin,
    int32 NewPinIndex,
    const UEdGraphPin* OldPin,
    int32 OldPinIndex
)

Whether or not two pins match for purposes of reconnection after reconstruction.

Public function Virtual

void

 

ExpandNode

(
    FKismetCompilerContext& CompilerCo...,
    UEdGraph* SourceGraph
)

Expands a node while compiling, which may add additional nodes or delete this node

Public function Virtual Const

FText

 

GetCompactNodeTitle()

Return title if drawing this node in 'compact' mode

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

Public function Virtual Const

FText

 

GetMenuCategory()

Override to provide a default category for specific node types to be listed under.

Public function Virtual Const

int32

 

GetNodeRefreshPriority()

Public function Virtual Const

bool

 

IsConnectionDisallowed

(
    const UEdGraphPin* MyPin,
    const UEdGraphPin* OtherPin,
    FString& OutReason
)

Public function Virtual Const

bool

 

IsNodePure()

Returns whether this node is considered 'pure' by the compiler

Public function Virtual

void

 

NotifyPinConnectionListChanged

(
    UEdGraphPin* Pin
)

Called when the connection list of one of the pins of this node is changed in the editor, after the pin has had it's literal cleared

Public function Virtual

void

 

PostReconstructNode()

Called at the end of ReconstructNode, allows node specific work to be performed

Public function Virtual Const

bool

 

ShouldDrawCompact()

Should draw compact

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this node

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node