Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_DynamicCast
- UK2Node_ClassDynamicCast
References
Module | BlueprintGraph |
Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_DynamicCast.h |
Include | #include "K2Node_DynamicCast.h" |
Syntax
class UK2Node_DynamicCast : public UK2Node
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FNodeTextCache | CachedNodeTitle | Constructing FText strings can be costly, so we cache the node's title |
![]() |
TSubclassOf< class UObject > | TargetType | The type that the input should try to be cast to |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UK2Node_DynamicCast
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Determine purity and create exec pins if needed | |
![]() |
void | Create success output signal pin (visible only if pure) | |
![]() ![]() ![]() |
UEdGraphPin * | Get the boolean output pin that signifies a successful/failed cast. | |
![]() ![]() |
UEdGraphPin * | Get the cast result pin | |
![]() ![]() ![]() |
UEdGraphPin * | Get the input object to be casted pin | |
![]() ![]() |
UEdGraphPin * | Get the 'invalid cast' exec pin | |
![]() ![]() |
UEdGraphPin * | Get the 'valid cast' exec pin | |
![]() |
void | Sets the pure state to Pure or Impure if it's using the default one | |
![]() ![]() |
bool | IsActionFilteredOut
(
const FBlueprintActionFilter& Filter |
|
![]() |
bool | ReconnectPureExecPins
(
TArray< UEdGraphPin* >& OldPins |
Update exec pins when converting from impure to pure. |
![]() |
void | SetPurity
(
bool bNewPurity |
Will change the node's purity, and reallocate pins accordingly (adding/ removing exec pins). |
![]() |
void | TogglePurity () |
Flips the node's purity (adding/removing exec pins as needed). |
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. |
![]() ![]() ![]() |
FText | Override to provide a default category for specific node types to be listed under. | |
![]() ![]() ![]() |
FBlueprintNodeSignature | GetSignature () |
Retrieves a unique identifier for this node type. |
![]() ![]() ![]() |
bool | IsConnectionDisallowed
(
const UEdGraphPin* MyPin, |
|
![]() ![]() ![]() |
bool | IsNodePure () |
Returns whether this node is considered 'pure' by the compiler |
![]() ![]() |
void | 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 | |
![]() ![]() |
void | Called at the end of ReconstructNode, allows node specific work to be performed | |
![]() ![]() |
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) |
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 |
|
![]() ![]() ![]() |
void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
Gets a list of actions that can be done to this particular node |
![]() ![]() ![]() |
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 | HasExternalDependencies
(
TArray< class UStruct* >* OptionalOutput |
Returns whether or not this node has dependencies on an external structure If OptionalOutput isn't null, it should be filled with the known dependencies objects (Classes, Structures, Functions, etc). |
![]() ![]() ![]() |
bool | Does the node context menu inherit parent class's menu | |
![]() ![]() ![]() |
void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Enums
Type | Name | Description | |
---|---|---|---|
![]() |
EPureState |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bIsPureCast | Use IsNodePure() instead. |