UDEPRECATED_K2Node_CastPatchToType

K2Node that checks if a FixturePatch is of a given FixtureType, and if it succeed, lets you grab the function values from the patch

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DMXBlueprintGraph

Header

/Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXBlueprintGraph/Public/K2Node_CastPatchToType.h

Include

#include "K2Node_CastPatchToType.h"

Syntax

UCLASS(Deprecated)
class UDEPRECATED_K2Node_CastPatchToType : public UK2Node_EditablePinBase

Remarks

K2Node that checks if a FixturePatch is of a given FixtureType, and if it succeed, lets you grab the function values from the patch

Variables

Name Description

Public variable UProperty

bool

 

bIsExposed

Constructors

Functions

Overridden from UK2Node_EditablePinBase

Name Description

Public function Virtual

bool

 

CanCreateUserDefinedPin

(
    const FEdGraphPinType& InPinType,
    EEdGraphPinDirection InDesiredDirec...,
    FText& OutErrorMessage
)

We only override this to return true, otherwise we can't create the user defined pins for the Attributes.

Public function Virtual

UEdGraphPin ...

 

CreatePinFromUserDefinition

(
    const TSharedPtr< FUserPinInfo > Ne...
)

Creates a new pin on the node from the specified user pin info.

Public function Virtual

bool

 

ModifyUserDefinedPinDefaultValue

(
    TSharedPtr< FUserPinInfo > PinInfo,
    const FString& NewDefaultValue
)

Modifies the default value of an existing pin on the node, this will update both the UserPinInfo and the linked editor pin

Overridden from UK2Node

Name Description

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

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

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

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

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Overridden from UObject

Name Description

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

What we need here is to serialize this node in both the parent and grand parent ways, because one will serialize the user defined pins (since this extends from UK2Node_EditablePinBase), but by doing only the parent serialization, it'll skip the serialization of the structs we have as IN pins (UE bug?).

Constants