FOptionalPinManager

Manager to build or refresh a list of optional pins.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

BlueprintGraph

Header

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

Include

#include "K2Node.h"

Syntax

struct FOptionalPinManager

Remarks

Manager to build or refresh a list of optional pins.

Destructors

Name Description

Public function Virtual

~FOptionalPinManager()

Functions

Name Description

Public function Static

void

 

CacheShownPins

(
    const TArray< FOptionalPinFromPrope...,
    TArray< FName >& OldShownPins
)

Helper function to make consistent behavior between nodes that use optional pins

Public function Virtual Const

bool

 

CanTreatPropertyAsOptional

(
    FProperty* TestProperty
)

Can this property be managed as an optional pin (with the ability to be shown or hidden)

Public function

void

 

CreateVisiblePins

(
    TArray< FOptionalPinFromProperty > ...,
    UStruct* SourceStruct,
    EEdGraphPinDirection Direction,
    UK2Node* TargetNode,
    uint8* StructBasePtr,
    uint8* DefaultsPtr
)

Creates a pin for each visible property on the specified node

Public function Virtual Const

void

 

CustomizePinData

(
    UEdGraphPin* Pin,
    FName SourcePropertyName,
    int32 ArrayIndex,
    FProperty* Property
)

Customize automatically created pins if desired.

Public function Static

void

 

EvaluateOldShownPins

(
    const TArray< FOptionalPinFromPrope...,
    TArray< FName >& OldShownPins,
    UK2Node* Node
)

Helper function to make consistent behavior between nodes that use optional pins

Public function Virtual Const

void

 

GetRecordDefaults

(
    FProperty* TestProperty,
    FOptionalPinFromProperty& Record
)

Should the specified property be displayed by default

Protected function Virtual Const

void

 

PostInitNewPin

(
    UEdGraphPin* Pin,
    FOptionalPinFromProperty& Record,
    int32 ArrayIndex,
    FProperty* Property,
    uint8* PropertyAddress,
    uint8* DefaultPropertyAddress
)

Protected function Virtual Const

void

 

PostRemovedOldPin

(
    FOptionalPinFromProperty& Record,
    int32 ArrayIndex,
    FProperty* Property,
    uint8* PropertyAddress,
    uint8* DefaultPropertyAddress
)

Protected function

void

 

RebuildProperty

(
    FProperty* TestProperty,
    FName CategoryName,
    TArray< FOptionalPinFromProperty > ...,
    UStruct* SourceStruct,
    TMap< FName, FOldOptionalPinSetting...
)

Public function

void

 

RebuildPropertyList

(
    TArray< FOptionalPinFromProperty > ...,
    UStruct* SourceStruct
)

Reconstructs the specified property array using the SourceStruct

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss