Navigation
API > API/Plugins > API/Plugins/PCG
Small helper that use thread local storage to build a map of pins to their current type. Meant to prevent reentrancy issues (combinatorics) in dynamic types. This struct is not meant to be allocated dynamically as the intention is to have a well-defined construction-destruction scope.
| Name | FPinTypeScopeHelper |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Helpers/PCGSettingsHelpers.h |
| Include Path | #include "Helpers/PCGSettingsHelpers.h" |
Syntax
struct FPinTypeScopeHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Helpers/PCGSettingsHelpers.h | |||
FPinTypeScopeHelper
(
const FPinTypeScopeHelper& |
Helpers/PCGSettingsHelpers.h | ||
| Helpers/PCGSettingsHelpers.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPinTypeScopeHelper() |
Helpers/PCGSettingsHelpers.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClearMapOnDestruction | bool | Helpers/PCGSettingsHelpers.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EPCGDataType GetCurrentPinType
(
const UPCGPin* InPin |
Helpers/PCGSettingsHelpers.h | ||
FPCGDataTypeIdentifier GetCurrentPinTypeID
(
const UPCGPin* InPin |
Helpers/PCGSettingsHelpers.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPinTypeScopeHelper & operator=
(
const FPinTypeScopeHelper& |
Helpers/PCGSettingsHelpers.h | ||
| Helpers/PCGSettingsHelpers.h |