Navigation
API > API/Plugins > API/Plugins/PCG
Creates polygon(s) from the specified point data.
| Name | UPCGCreatePolygon2DSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Polygon/PCGCreatePolygon2D.h |
| Include Path | #include "Elements/Polygon/PCGCreatePolygon2D.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGCreatePolygon2DSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGCreatePolygon2DSettings
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGCreatePolygon2DSettings() |
Elements/Polygon/PCGCreatePolygon2D.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseHoleAttribute | bool | Controls whether we will use the hole attribute to separate outer from hole segments. | Elements/Polygon/PCGCreatePolygon2D.h |
|
| bUsePolygonWidthAttribute | bool | Controls whether target polygon width (when open/forced open) will be driven by an attribute. | Elements/Polygon/PCGCreatePolygon2D.h |
|
| HoleIndexAttribute | FPCGAttributePropertyInputSelector | Attribute that describes the hole index of the points, where -1 is the outer polygon, and other values are for holes. | Elements/Polygon/PCGCreatePolygon2D.h |
|
| InputType | EPCGCreatePolygonInputType | Controls the way input data will be considered - either as closed or open paths. | Elements/Polygon/PCGCreatePolygon2D.h |
|
| OpenPolygonWidth | double | Target width of the polygon generated from an open path. | Elements/Polygon/PCGCreatePolygon2D.h |
|
| PolygonWidthAttribute | FPCGAttributePropertyInputSelector | Attribute from which to get the width value | Elements/Polygon/PCGCreatePolygon2D.h |
|
| SplineMaxDiscretizationError | double | Maximum squared distance before we need to subdivide a segment again as part of the spline discretization to a polygon. | Elements/Polygon/PCGCreatePolygon2D.h |
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/Polygon/PCGCreatePolygon2D.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/Polygon/PCGCreatePolygon2D.h | ||
virtual FText GetNodeTooltipText() |
Elements/Polygon/PCGCreatePolygon2D.h | ||
virtual EPCGSettingsType GetType() |
Elements/Polygon/PCGCreatePolygon2D.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/Polygon/PCGCreatePolygon2D.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/PCGCreatePolygon2D.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/Polygon/PCGCreatePolygon2D.h |