Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Metadata
Inheritance Hierarchy
- FPCGAttributePropertySelector
- FPCGAttributePropertyInputSelector
- FPCGAttributePropertyOutputNoSourceSelector
- FPCGAttributePropertyOutputSelector
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Metadata/PCGAttributePropertySelector.h |
| Include | #include "Metadata/PCGAttributePropertySelector.h" |
Syntax
USTRUCT&40;BlueprintType, Meta&61;&40;Hidden&41;&41;
struct FPCGAttributePropertySelector
Remarks
Blueprint class to allow to select an attribute or a property. It will handle the logic and can only be modified using the blueprint library defined below. Also has a custom detail view in the PCGEditor plugin.
Note: This class should not be used as is, but need to be referenced by either an "InputSelector" or an "OutputSelector" (defined below). The reason for that is to provide 2 different default values for input and output. Input will have the "@Last" default value (meaning last attribute written to) and the Output will have "@Source" default value (meaning, same thing as input).
Variables
| Type | Name | Description | |
|---|---|---|---|
| FName | AttributeName | ||
| TArray< FString > | ExtraNames | ||
| EPCGExtraProperties | ExtraProperty | ||
| EPCGPointProperties | PointProperty | ||
| EPCGAttributePropertySelection | Selection |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| T | CreateFromOtherSelector
(
const FPCGAttributePropertySelector& InOther |
||
| FName | |||
| FText | Returns the text to display in the widget. | ||
| const TArray< FString > & | |||
| EPCGExtraProperties | |||
| FName | GetName () |
Return the name of the selector. | |
| EPCGPointProperties | |||
| EPCGAttributePropertySelection | GetSelection () |
Getters. | |
| void | ImportFromOtherSelector
(
const FPCGAttributePropertySelector& InOther |
||
| bool | IsSame
(
const FPCGAttributePropertySelector& Other, |
||
| bool | IsValid () |
Return true if the underlying name is valid. | |
| bool | SetAttributeName
(
FName InAttributeName, |
||
| bool | SetExtraProperty
(
EPCGExtraProperties InExtraProperty, |
||
| bool | SetPointProperty
(
EPCGPointProperties InPointProperty, |
Setters, retrurn true if something changed. | |
| bool | Update the selector with an incoming string. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const FPCGAttributePropertySelector& Other |