Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/MatchAndSet
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGMatchAndSetBase
- UPCGMatchAndSetByAttribute
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/MatchAndSet/PCGMatchAndSetByAttribute.h |
| Include | #include "MatchAndSet/PCGMatchAndSetByAttribute.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGMatchAndSetByAttribute : public UPCGMatchAndSetBase
Remarks
This Match & Set object looks up an attribute on a given point, then looks up its entries to find a match; if there is one, then it sets it value.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FPCGMatchAndSetByAttributeEntry > | Entries | Lookup entries (key-value pairs) | |
| FName | MatchSourceAttribute | Attribute to match on the data | |
| EPCGMetadataTypesConstantStructStringMode | MatchSourceStringMode | String type of the attribute to match against (if required). | |
| EPCGMetadataTypes | MatchSourceType | Type of the attribute to match against. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetSourceType
(
EPCGMetadataTypes InType, |
Propagates (does not set) the Match type to the entries |
Overridden from UPCGMatchAndSetBase
| Type | Name | Description | |
|---|---|---|---|
| void | MatchAndSet_Implementation
(
FPCGContext& Context, |
||
| void | SetType
(
EPCGMetadataTypes InType, |
Sets & propagates type change from the owner settings object | |
| bool | ValidatePreconditions_Implementation
(
const UPCGPointData* InPointData |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |