Navigation
API > API/Plugins > API/Plugins/PCG
Applies polygon operations between polygons
| Name | UPCGPolygon2DOperationSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Polygon/PCGPolygon2DOperation.h |
| Include Path | #include "Elements/Polygon/PCGPolygon2DOperation.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGPolygon2DOperationSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGPolygon2DOperationSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bQuiet | bool | Controls whether the operation can log warnings/errors if it fails. | Elements/Polygon/PCGPolygon2DOperation.h | |
| MetadataMode | EPCGPolygonOperationMetadataMode | Controls whether metadata on the resulting output will be either not computed & defaulted ('None'), based on the input polygons only ('SourceOnly') or using both the source and the clip polygons. | Elements/Polygon/PCGPolygon2DOperation.h |
|
| Operation | EPCGPolygonOperation | Controls operation to be performed on the input polygons (vs. the clip polygons). | Elements/Polygon/PCGPolygon2DOperation.h |
|
| SplineMaxDiscretizationError | double | Maximum squared distance before we need to subdivide a segment again as part of the spline discretization to a path. | Elements/Polygon/PCGPolygon2DOperation.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyDeprecationBeforeUpdatePins
(
UPCGNode* InOutNode, |
UpdatePins will kick off invalid edges, so this is useful for moving edges around in case of pin changes. | Elements/Polygon/PCGPolygon2DOperation.h | |
virtual FString GetAdditionalTitleInformation() |
Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | Elements/Polygon/PCGPolygon2DOperation.h | |
virtual EPCGChangeType GetChangeTypeForProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
@todo_pcg : presets per operation | Elements/Polygon/PCGPolygon2DOperation.h | |
virtual FName GetDefaultNodeName() |
Elements/Polygon/PCGPolygon2DOperation.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/Polygon/PCGPolygon2DOperation.h | ||
virtual FText GetNodeTooltipText() |
Elements/Polygon/PCGPolygon2DOperation.h | ||
virtual EPCGSettingsType GetType() |
Elements/Polygon/PCGPolygon2DOperation.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/Polygon/PCGPolygon2DOperation.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/Polygon/PCGPolygon2DOperation.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/Polygon/PCGPolygon2DOperation.h |