ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
FArticyRefPinFactory Class Referencefinal

A factory class for creating custom graph pins in the editor. More...

#include <ArticyPinFactory.h>

Inheritance diagram for FArticyRefPinFactory:

Public Member Functions

virtual TSharedPtr< SGraphPin > CreatePin (UEdGraphPin *Pin) const override
 Creates a custom pin for the given graph pin if it matches specific types.

Detailed Description

A factory class for creating custom graph pins in the editor.

This class extends FGraphPanelPinFactory to provide custom pins for Articy data types. It checks the pin's type and creates the appropriate custom pin widget if the pin type matches FArticyRef or FArticyId.

Member Function Documentation

◆ CreatePin()

virtual TSharedPtr< SGraphPin > FArticyRefPinFactory::CreatePin ( UEdGraphPin * Pin) const
inlineoverridevirtual

Creates a custom pin for the given graph pin if it matches specific types.

This method overrides the CreatePin method from FGraphPanelPinFactory to produce custom pins for specific Articy data types. If the pin's sub-category object matches FArticyRef or FArticyId, a corresponding custom pin widget is created.

Parameters
PinThe graph pin for which a custom widget is to be created.
Returns
A shared pointer to the created SGraphPin widget, or nullptr if no custom widget is created.

The documentation for this class was generated from the following file: