Navigation
API > API/Plugins > API/Plugins/PCG
Offsets polygons, depending on the offset quantity and join type.
| Name | UPCGOffsetPolygon2DSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Polygon/PCGOffsetPolygon2D.h |
| Include Path | #include "Elements/Polygon/PCGOffsetPolygon2D.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGOffsetPolygon2DSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGOffsetPolygon2DSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInheritMetadata | bool | Elements/Polygon/PCGOffsetPolygon2D.h |
|
|
| bUseOffsetFromInput | bool | Elements/Polygon/PCGOffsetPolygon2D.h |
|
|
| Offset | double | Elements/Polygon/PCGOffsetPolygon2D.h | ||
| OffsetAttribute | FPCGAttributePropertyInputSelector | Elements/Polygon/PCGOffsetPolygon2D.h |
|
|
| Operation | EPCGPolygonOffsetOperation | Elements/Polygon/PCGOffsetPolygon2D.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGChangeType GetChangeTypeForProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
@todo_pcg : presets for offset/open/close | Elements/Polygon/PCGOffsetPolygon2D.h | |
virtual FName GetDefaultNodeName() |
Elements/Polygon/PCGOffsetPolygon2D.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/Polygon/PCGOffsetPolygon2D.h | ||
virtual FText GetNodeTooltipText() |
Elements/Polygon/PCGOffsetPolygon2D.h | ||
virtual EPCGSettingsType GetType() |
Elements/Polygon/PCGOffsetPolygon2D.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/Polygon/PCGOffsetPolygon2D.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/PCGOffsetPolygon2D.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/Polygon/PCGOffsetPolygon2D.h |