Navigation
API > API/Plugins > API/Plugins/DMXBlueprintGraph
K2Node that checks if a FixturePatch is of a given FixtureType, and if it succeed, lets you grab the function values from the patch
| Name | UDEPRECATED_K2Node_CastPatchToType |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXBlueprintGraph/Public/K2Node_CastPatchToType.h |
| Include Path | #include "K2Node_CastPatchToType.h" |
Syntax
UCLASS (Deprecated)
class UDEPRECATED_K2Node_CastPatchToType : public UK2Node_EditablePinBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_EditablePinBase → UDEPRECATED_K2Node_CastPatchToType
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDEPRECATED_K2Node_CastPatchToType() |
K2Node_CastPatchToType.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InputPinName_FixturePatch | const FName | K2Node_CastPatchToType.h | |
| InputPinName_FixtureTypeRef | const FName | K2Node_CastPatchToType.h | |
| OutputPinName_AttributesMap | const FName | K2Node_CastPatchToType.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsExposed | bool | K2Node_CastPatchToType.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AllocateDefaultPins() |
K2Node_CastPatchToType.h | ||
virtual bool CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
We only override this to return true, otherwise we can't create the user defined pins for the Attributes. | K2Node_CastPatchToType.h | |
virtual UEdGraphPin * CreatePinFromUserDefinition
(
const TSharedPtr< FUserPinInfo > NewPinInfo |
K2Node_CastPatchToType.h | ||
virtual void ExpandNode
(
FKismetCompilerContext& CompilerContext, |
K2Node_CastPatchToType.h | ||
void ExposeAttributes() |
K2Node_CastPatchToType.h | ||
FString GetFixturePatchValueAsString() |
K2Node_CastPatchToType.h | ||
virtual void GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
K2Node_CastPatchToType.h | ||
virtual FText GetMenuCategory() |
K2Node_CastPatchToType.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
K2Node_CastPatchToType.h | ||
UDMXEntityFixtureType * GetSelectedFixtureType() |
K2Node_CastPatchToType.h | ||
bool IsExposed() |
K2Node_CastPatchToType.h | ||
virtual bool IsNodePure() |
K2Node_CastPatchToType.h | ||
virtual bool ModifyUserDefinedPinDefaultValue
(
TSharedPtr< FUserPinInfo > PinInfo, |
K2Node_CastPatchToType.h | ||
virtual void NotifyPinConnectionListChanged
(
UEdGraphPin* Pin |
K2Node_CastPatchToType.h | ||
void ResetAttributes() |
K2Node_CastPatchToType.h | ||
| 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?). | K2Node_CastPatchToType.h |