Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGPolygon2DData
Description
Get the number of segments in this line. If the line is closed, this will be the same as the number of control points in the line.
Virtual Inheritance
- UPCGPolyLineData::GetNumSegments → UPCGPolygon2DData::GetNumSegments
| Name | GetNumSegments |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGPolygon2DData.h |
| Include Path | #include "Data/PCGPolygon2DData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGPolygon2DData.cpp |
virtual int GetNumSegments() const